码迷,mamicode.com
首页 >  
搜索关键字:reader    ( 2243个结果
解决JAVA Process死锁
主进程调用Process.waitfor后已挂起。当前子进程和主进程之间的缓冲区塞满后,子进程不能继续写数据,然后也会挂起。 需要获取Process.getInputStream和Process.getErrorStream并处理。 ...
分类:编程语言   时间:2019-09-20 18:26:14    阅读次数:95
Java -- 通过 URLConnection 进行http请求中文乱码
对writer和reader指定字符集 具体代码: ...
分类:编程语言   时间:2019-09-18 19:23:03    阅读次数:144
C# 获取网页内容
C#通常有三种方法获取网页内容,使用WebClient、WebBrowser或者HttpWebRequest/HttpWebResponse。 一. 使用WebClient 1 using System; 2 using System.Collections.Generic; 3 using Sys ...
分类:Windows程序   时间:2019-09-17 12:25:32    阅读次数:140
第十八天:CSV、JSON、Excel、SQLite
一、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
查看工程里有多少行java代码
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
js + node 分片上传
首先是HTML5的几个规范 File FileReader ArrayBuffer Blob input上传的文件就是File类型文件,而File是基于Blob设计的。 接口自带slice方法,可以分割文件,达到分片上传的目的。 FileReader可以读取Blob里面的内容。 把上传文件接口类型设 ...
分类:Web程序   时间:2019-09-16 11:47:06    阅读次数:105
【zbar源码分析】确定探测图形中心点数量
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
[ARIA] What is Accessible Name Calculation?
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
图片转PDF
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
javascript数据判断是否有指定元素
jquery方法: javascript方法: 功能:根据指定的数据,从左向右,查询在数组中出现的位置,如果不存在指定的数据,返回-1。该方法是查询方法,不会对数组产生改变。 参数:indexOf(value, start);value为要查询的数据;start为可选,表示开始查询的位置,当star ...
分类:编程语言   时间:2019-09-12 18:00:51    阅读次数:87
2243条   上一页 1 ... 33 34 35 36 37 ... 225 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!