码迷,mamicode.com
首页 >  
搜索关键字:file python3    ( 63124个结果)
解决ARCGIS10.2与VS2013不兼容
在注册表中HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\VisualStudio\10.0增加类型为REG_SZ的InstallDir节点。InstallDir的结点的值为HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432No...
分类:其他好文   时间:2014-09-17 21:47:52    阅读次数:1397
simple factory, factory method, abstract factory
simple factorygood:1 devide implementation and initialization2 use config file can make system more flexible (reflection)bad:1 all initialization work...
分类:其他好文   时间:2014-09-17 20:25:32    阅读次数:246
使用 OLEDB读取 excel(不用Excel对象).
参考:How to read from an Excel file using OLEDB为了使用方便,我做成了工具类(OledbHelp.cs),好以后使用.注:连接字符串中,Provider=xx是从这个连接模仿,主要是考虑是否把第1行当成表头:http://www.connectionstri...
分类:数据库   时间:2014-09-17 20:23:02    阅读次数:315
python——dict详解
python3.0以上,print函数应为print(),不存在dict.iteritems()这个函数。在python中写中文注释会报错,这时只要在头部加上# coding=gbk即可#字典的添加、删除、修改操作dict = {"a" : "apple", "b" : "banana", "g" ...
分类:编程语言   时间:2014-09-17 20:14:52    阅读次数:389
Linux环境给文件重命名
Linux环境给文件重命名时,如果重命名后的文件名称与当前路径下已存在的文件名称相同,则重命名的文件会覆盖相同名称的文件内容;例如:新建文件testfile1,内容为mytest; 新建文件testfile2,内容为test; 执行mv testfile1 testfile2 命令后,当...
分类:系统相关   时间:2014-09-17 20:14:32    阅读次数:249
HDU-4994
/********************************************************************@file Main_practise.cpp@date 2014-9-17@author Tiger@brief Revenge of...
分类:其他好文   时间:2014-09-17 20:06:12    阅读次数:255
查看某个线程占得CPU高
jps得到pidpidstat -p [pid] -t -t表示显示该进程里面所有的线程的信息06:20:32 PM TGID TID %usr %system %guest %CPU CPU Command06:20:32 PM 2996 - 6.16 0.22 0.00 ...
分类:编程语言   时间:2014-09-17 20:05:32    阅读次数:300
Java编程最差实践(五)
不使用finally块释放资源 错误的写法: public?void?save(File?f)?throws?IOException?{?? ??OutputStream?out?=?new?BufferedOutputStream(new?FileOutputStream(f));?? ??out.write(...);??...
分类:编程语言   时间:2014-09-17 17:02:52    阅读次数:320
android获取设备全部信息
private static final String FILE_MEMORY = "/proc/meminfo"; private static final String FILE_CPU = "/proc/cpuinfo";/** * 得到IMEI * * @re...
分类:移动开发   时间:2014-09-17 16:45:12    阅读次数:263
aircrack-ng使用问题:open failed: No such file or directory
分类:其他好文   时间:2014-09-17 15:29:53    阅读次数:180
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!