我使用 XLRD 每 30 秒读取一次 excel 文件。但是我不断收到来自 XLRD 的错误消息...
File "C:\Users\Administrator\Desktop\New Folder\final_30sec.py", line 22, in odds
book = open_workbook('excel.xls')
File "C:\Python27\lib\site-packages\xlrd-0.9.0-py2.7.egg\xlrd\__init__.py", line 443, in open_workbook
ragged_rows=ragged_rows,
File "C:\Python27\lib\site-packages\xlrd-0.9.0-py2.7.egg\xlrd\book.py", line 90, in open_workbook_xls
ragged_rows=ragged_rows,
File "C:\Python27\lib\site-packages\xlrd-0.9.0-py2.7.egg\xlrd\book.py", line 619, in biff2_8_load
cd = compdoc.CompDoc(self.filestr, logfile=self.logfile)
File "C:\Python27\lib\site-packages\xlrd-0.9.0-py2.7.egg\xlrd\compdoc.py", line 234, in __init__
_build_family_tree(dirlist, 0, dirlist[0].root_DID) # and stand well back ..
File "C:\Python27\lib\site-packages\xlrd-0.9.0-py2.7.egg\xlrd\compdoc.py", line 71, in _build_family_tree
_build_family_tree(dirlist, parent_DID, dirlist[child_DID].right_DID)
File "C:\Python27\lib\site-packages\xlrd-0.9.0-py2.7.egg\xlrd\compdoc.py", line 68, in _build_family_tree
有人会碰巧知道导致此错误的原因以及如何避免它...吗?