只能新创建xls # coding=utf-8import xlwt writebook = xlwt.Workbook() #打开excel test= writebook.add_sheet('test') #添加一个名字叫test的sheet test.write(0,1,'this is a test') #第0行第1列写入字符串'this is a test' writebook.save('testdata.xls'
I've got some files which can help a little bit to figure out where people are from based on their ID card NO. That file looks like this: Then I converted it into *.csv format which is basically a text file. It's not hard that almost every common doc