摘要: os模块 :操作系统的接口 源码在Lib/os.py os.name 判断所在系统os.system() 运行shell命令 'nt':windows; 'posix':'Linux/Unix'. os.chdir(path) os.fchdir(fd) os.getcwd os.fsencode( 阅读全文
posted @ 2018-06-20 16:11 frange 阅读(4172) 评论(0) 推荐(0)
摘要: xlsxwriter用来写入excel的模块 1、创建一个excel文件 2、添加一个sheet页,向sheet页中单元格中写入数据 注:定位单元格,可以用字母数字组合(A1),也可以用坐标形式(0,0) 向单元格中写入可以分为以下方法: writer_number() 向单元格中写入数字 writ 阅读全文
posted @ 2018-06-20 15:46 frange 阅读(4625) 评论(0) 推荐(0)