1.尾部根据【字典】数据,尾部添加新行与新列对应数据 try: for row_name in glo.dict.keys(): row_cnt = self.mytableWidget.rowCount() # 返回当前行数(尾部) self.mytableWidget.insertRow(row ...
分类:
其他好文 时间:
2020-05-29 13:41:49
阅读次数:
274
1、带标题 select * into outfile 'E:/20200528222319_weibaojilv.xls' from(select '序号','维修时间','结束时间','维修花费时间','维修码','所属分系统','所属分系统','故障名','维修人员','维修费用','备注' ...
分类:
数据库 时间:
2020-05-28 23:44:07
阅读次数:
93
# payload 请求方式 yield scrapy.Request(url=url, method='POST', dont_filter=True, meta={ 'xx': 'dd' }, headers=headers, body=json.dumps(ex_data), callback ...
分类:
其他好文 时间:
2020-05-28 21:58:46
阅读次数:
118
题目: 有效的完全平方数:给定一个正整数 num,编写一个函数,如果 num 是一个完全平方数,则返回 True,否则返回 False。 说明:不要使用任何内置的库函数,如 sqrt。 示例 1: 输入:16 输出:True 示例 2: 输入:14 输出:False 思路: 暴力法会超时,使用二分查 ...
分类:
编程语言 时间:
2020-05-28 19:38:33
阅读次数:
110
题目: 第三大的数:给定一个非空数组,返回此数组中第三大的数。如果不存在,则返回数组中最大的数。要求算法时间复杂度必须是O(n)。 示例 1: 输入: [3, 2, 1] 输出: 1 解释: 第三大的数是 1.示例 2: 输入: [1, 2] 输出: 2 解释: 第三大的数不存在, 所以返回最大的数 ...
分类:
编程语言 时间:
2020-05-28 19:27:48
阅读次数:
115
JS内置对象 Window对象document、history、location、navigator、screen 返回相应对象的引用parent、self、top 分别返回父窗口、当前窗口和最顶层窗口的对象引用screenLeft、screenTop、screenX、screenY 返回窗口的左上 ...
分类:
Web程序 时间:
2020-05-28 16:43:07
阅读次数:
77
简单版 特点是,无需借助任何第三方库。 # 加密和解密文件 # 字段内容以 ; 分割 class Crypt(): def __init__(self,line): self.line = line self.list=['','A','B','C','D','E','F','G','H','I', ...
分类:
编程语言 时间:
2020-05-28 14:55:05
阅读次数:
84
Since Sonya has just learned the basics of matrices, she decided to play with them a little bit. Sonya imagined a new type of matrices that she called ...
分类:
其他好文 时间:
2020-05-28 12:59:01
阅读次数:
66
AR1配置 ospf 1 router-id 1.1.1.1 area 0.0.0.1 network 10.1.12.0 0.0.0.255 AR2配置 ospf 1 router-id 2.2.2.2 area 0.0.0.0 network 10.1.23.0 0.0.0.255 area 0 ...
分类:
其他好文 时间:
2020-05-27 22:06:04
阅读次数:
145
动机:实际训练时,由于batch都很小,因此每次BN的效果并没这么好。希望BN时能解决这个batch_size的影响。 https://blog.csdn.net/u014380165/article/details/79810040 https://www.cnblogs.com/jins-not ...
分类:
其他好文 时间:
2020-05-27 20:33:36
阅读次数:
73