09 2017 档案

摘要:copy(s,d) 阅读全文
posted @ 2017-09-25 23:17 Bingo_Python 阅读(188) 评论(0) 推荐(0)
摘要:查看路径下的所有文件: import os 阅读全文
posted @ 2017-09-22 12:46 Bingo_Python 阅读(173) 评论(0) 推荐(0)
摘要:1.处理gz的压缩包,把里面的文件解压出来放置相应的目录下 阅读全文
posted @ 2017-09-22 12:44 Bingo_Python 阅读(536) 评论(0) 推荐(0)
摘要:对想要计算运行时间的代码头尾插入。 让程序等待,单位s 阅读全文
posted @ 2017-09-22 12:36 Bingo_Python 阅读(123) 评论(0) 推荐(0)
摘要:引用:http://www.jb51.net/article/67828.htm 如果结合对文件修改的时候需要把获取到的时间放置文件名中可以通过只去格式化的部分值插入到新命名str中 阅读全文
posted @ 2017-09-19 21:36 Bingo_Python 阅读(215) 评论(0) 推荐(0)
摘要:读取import xlrd data = xlrd.open_workbook('D:\qiuwenbin.xls')#打开本地表格 sh = data.sheet_by_index(0)(读取默认的第一个表) cellName = sh.cell(0,0)#(取sh表中的坐标值) print(cellName) 写入:from xlrd import open_workbook fro... 阅读全文
posted @ 2017-09-19 12:51 Bingo_Python 阅读(523) 评论(0) 推荐(0)
该文被密码保护。
posted @ 2017-09-13 14:05 Bingo_Python 阅读(2) 评论(0) 推荐(0)