你们都是我的客户,所以,我对你们是透明的
发布时间:2015-12-28 23:30:49
# -*- coding: utf-8 -*-import reimport xlwta=r'C:\Users\db307\Desktop\py\date\data.txt'i=1j=m=0w = xlwt.Workbook()ws = w.add_sheet('work')with open(a) as f: for line in f: #print (line) b=re.split('\s+', line) while i ......【阅读全文】
发布时间:2015-12-24 16:53:54
#coding=gbkimport xlrda=r'C:\Users\db307\Desktop\py\date\test.xlsx'data=xlrd.open_workbook(a)table = data.sheets()[0]nrows = table.nrows #行数ncols = table.ncols #列数#col=table.row_values()a=[]for i in range(nrows): row=table.row_values(i) &n.........【阅读全文】