# 打开文件workbook = xlrd.open_workbook(r'D:\PycharmProjects\reptile\XLSX 工作表 .xlsx')# 获取所有sheetprint(workbook.sheet_names) # ['sheet1', 'sheet2 ...