您好,我理解了sys.path[0],从原理上来说我也觉得这个方法可行,但我尝试之后,还是报错,可否再帮帮忙Traceback (most recent call last):
File "我的程序.py", line 16, in <module>
File "pandas/io/excel/_base.py", line 504, in read_excel
File "pandas/io/excel/_base.py", line 1563, in __init__
File "pandas/io/excel/_base.py", line 1419, in inspect_excel_format
File "pandas/io/common.py", line 872, in get_handle
NotADirectoryError: [Errno 20] Not a directory: '/var/folders/7q/_mf3hd1d02ndckrwpmmc5zbr0000gn/T/_MEI4WhtHn/base_library.zip/待清洗.xlsx'
[5233] Failed to execute script '我的程序' due to unhandled exception!
|