一、CSV文件 1、读取 reader = csv.reader(打开的file对象), reader为可迭代对象 2、用namedtuple映射列名 3、读取到字典表 二、JSON模块 json.dumps() 转换成json类型的字符串 json.loads() 从json字符串读取 json. ...
分类:
数据库 时间:
2019-09-16 23:56:22
阅读次数:
206
public class TestCodeNum { public static void main(String[] args) throws IOException { // java代码 int java_num = getProjectFileNumber(new File("D:\\lw\... ...
分类:
编程语言 时间:
2019-09-16 19:51:34
阅读次数:
149
极光行动漏洞背景极光行动(英语:Operation Aurora)或欧若拉行动是2009年12月中旬可能源自中国的一场网络攻击,其名称“Aurora”(意为极光、欧若拉)来自攻击者电脑上恶意文件所在路径的一部分。遭受攻击的除了Google外,还有20多家公司:其中包括Adobe Systems、Ju... ...
分类:
其他好文 时间:
2019-09-16 16:29:49
阅读次数:
264
首先是HTML5的几个规范 File FileReader ArrayBuffer Blob input上传的文件就是File类型文件,而File是基于Blob设计的。 接口自带slice方法,可以分割文件,达到分片上传的目的。 FileReader可以读取Blob里面的内容。 把上传文件接口类型设 ...
分类:
Web程序 时间:
2019-09-16 11:47:06
阅读次数:
105
static int qr_finder_centers_locate(qr_finder_center **_centers, qr_finder_edge_pt **_edge_pts, qr_reader *reader, int _width,int _height){ qr_finder_... ...
分类:
其他好文 时间:
2019-09-15 21:06:06
阅读次数:
218
What's in a name? In this lesson, I'll explain the concept of naming interactive elements for screen reader users, including forms, buttons, and links ...
分类:
数据库 时间:
2019-09-15 17:06:35
阅读次数:
137
from reportlab.pdfgen import canvas from reportlab.lib.units import inch, cm from reportlab.lib.pagesizes import letter from reportlab.platypus import... ...
分类:
其他好文 时间:
2019-09-14 22:53:27
阅读次数:
125
Copyright Adobe Systems Incorporated H. Parmar, Ed. M. Thornburgh, Ed. Adobe December 21, 2012 Adobe’s Real Time Messaging Protocol Abstract This memo ...
分类:
其他好文 时间:
2019-09-13 18:02:14
阅读次数:
96
jquery方法: javascript方法: 功能:根据指定的数据,从左向右,查询在数组中出现的位置,如果不存在指定的数据,返回-1。该方法是查询方法,不会对数组产生改变。 参数:indexOf(value, start);value为要查询的数据;start为可选,表示开始查询的位置,当star ...
分类:
编程语言 时间:
2019-09-12 18:00:51
阅读次数:
87
官网地址:https://framework7.io/docs/autocomplete.html#autocomplete-parameters //页面html <div class="list no-hairlines-md"> <div class="block-header">Dropdo ...
分类:
其他好文 时间:
2019-09-10 18:23:51
阅读次数:
113