首页
编程
java
php
前端
首页
编程
java
php
前端
python使用openpyxl读取Excel文件显示No such file or directory
先检查文件路径是否正确,路径下是否有对应的文件,另外,需要pip安装openpyxl,因为在用read_excel读取xlsx格式文件需调用openpyxl库。
参考:
pandas.read_excel — pandas 1.3.4 documentation
https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.read_excel.html
点击展开全文