此问题特定于xlwings。我有问题wb = Workbook.caller()
。这会导致以下错误:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "WeatherDataAPI.py", line 89, in <module>
wb = Workbook.caller()
File "C:\Python27\lib\site-packages\xlwings\main.py", line 234, in caller
xl_app, xl_workbook = xlplatform.get_open_workbook(fullname, hwnd=sys.argv[4])
IndexError: list index out of range
以前版本的 xlwings中似乎存在类似问题?
任何帮助表示赞赏!
非常感谢!