python 读excel部分遇到下面的错:怎么解?
Traceback(mostrecentcalllast):File"custom.py",line1140,ingetCustomSelectedItemsself.w...
Traceback (most recent call last):
File "custom.py", line 1140, in getCustomSelectedItems
self.writeDataIntoResultFile(allTabSelectedRowList)
File "custom.py", line 1151, in writeDataIntoResultFile
writeData=copy(Data)
File "/usr/lib/python2.7/dist-packages/xlutils/copy.py", line 19, in copy
w
File "/usr/lib/python2.7/dist-packages/xlutils/filter.py", line 937, in process
reader(chain[0])
File "/usr/lib/python2.7/dist-packages/xlutils/filter.py", line 69, in __call__
if workbook.on_demand:
AttributeError: 'Book' object has no attribute 'on_demand' 展开
File "custom.py", line 1140, in getCustomSelectedItems
self.writeDataIntoResultFile(allTabSelectedRowList)
File "custom.py", line 1151, in writeDataIntoResultFile
writeData=copy(Data)
File "/usr/lib/python2.7/dist-packages/xlutils/copy.py", line 19, in copy
w
File "/usr/lib/python2.7/dist-packages/xlutils/filter.py", line 937, in process
reader(chain[0])
File "/usr/lib/python2.7/dist-packages/xlutils/filter.py", line 69, in __call__
if workbook.on_demand:
AttributeError: 'Book' object has no attribute 'on_demand' 展开
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询