import XLRD
data=https://bbs.csdn.net/topics/xlrd.open_workbook (' workbook 4. XLSX? ')
Feedback is
Traceback (the most recent call last) :
The File "& lt; Pyshell# 5 & gt;" , line 1, in
X1=XLRD. Open_workbook (" workbook 4. XLSX ")
The File "/Library/Frameworks/Python framework Versions/3.8/lib/python3.8/site - packages/XLRD/set py", line 111, in open_workbook
With the open (filename, "rb") as f:
No FileNotFoundError: [Errno 2] to the file or directory: 'workbook 4. XLSX
Already deposited the data in the folder.
& gt;> The import OS
> Print (OS) path) abspath ('. '))
/Users/zhangning
CodePudding user response:
Cannot be processed as if XLRD XLSX format fileCodePudding user response:
Try to.xls filesCodePudding user response:
A friend tried to cut through the:import XLRD
data=https://bbs.csdn.net/topics/xlrd.open_workbook (" ~/workbook 4. XLSX?" )