【文件属性】:
文件名称:使用Python把数据写入Excel
文件大小:5KB
文件格式:PY
更新时间:2018-01-18 06:13:01
python db excel
使用Python把数据写入Excel.
usage="%prog [-d (datasetfile)] [-x (xlsfile)]"
op=OptionParser(usage=usage)
op.add_option('-d','--datasetfile',dest='dataset_file',help='input a dataset file')
op.add_option('-x','--xlsfile',dest='xls_file',help='output a excel file with one sheet')
op.add_option('-o','--onexlsfile',dest='onexls_file',help='output a excel file with multiple sheets ')
网友评论
- 下载下来用下,多谢分享。不过不好用