zl程序教程

您现在的位置是:首页 >  后端

当前栏目

python openpyxl 操作excel xlrd.biffh.XLRDError: Excel xlsx file; not supported错误修改

PythonExcel错误 操作 修改 not File supported
2023-09-11 14:20:47 时间

python xlrd/openpyxl 操作excel xlrd.biffh.XLRDError: Excel xlsx file; not supported错误修改


xlrd 读取文件时出错,xlrd不支持excel的.xlsx文件

代码:

def getwordzw(filename, sheet_index=0, danyuan=1,nianji=