import openpyxl fn = 'C:/Users/laiwu/Desktop/一键式统计/纳税申报表.xlsx' wb = openpyxl.load_workbook(fn) print(type(wb))