問題描述
打開xlsx文件時發出警告,選擇Sheet工作簿時內容為空
C:\Users\Administrator\AppData\Local\Programs\Python\Python37\lib\site-packages\openpyxl\reader\workbook.py:88: UserWarning: File contains an invalid specification for Sheet1. This will be removed
問題原因
其他格式文件保存為xlsx文件時選擇了《Script Open xml電子表格*.xlsx》,重新另存為《Excel工作簿 *.xlsx》格式即可。