执行运行后报错"D:\Program Files\python.exe" D:/python项目/test.py
Traceback (most recent call last):
File "D:/python项目/test.py", line 2, in <module>
xlsx = xlrd.open_workbook_xls("d:/1231.xlsx")
File "D:\Program Files\lib\site-packages\xlrd\book.py", line 79, in open_workbook_xls
biff_version = bk.getbof(XL_WORKBOOK_GLOBALS)
File "D:\Program Files\lib\site-packages\xlrd\book.py", line 1284, in getbof
bof_error('Expected BOF record; found %r' % self.mem[savpos:savpos+8])
File "D:\Program Files\lib\site-packages\xlrd\book.py", line 1278, in bof_error
raise XLRDError('Unsupported format, or corrupt file: ' + msg)
xlrd.biffh.XLRDError: Unsupported format, or corrupt file: Expected BOF record; found b'PK\x03\x04\n\x00\x00\x00',那位指点下,