INPUTPATH= u"D:\\lsssl\\桌面\\xls文件" #生成的csv文件存放路径 OUTPATH = u"D:\\lsssl\桌面\\csv" class changeCenter: def __init__(self): pass def getvalue(self,filename): self.mData = [] xlsfile=xlrd.open_workbook(filename) table = xlsfile.sheet_by_index(0)#sheet1 rownum ...