#打开 workbook=openpyxl.load_workbook(path) #得到sheet sheets=workbook.get_sheet_names() sh=workbook[sheets[i]] workbook.get_sheet_by_name("") #读取cell,columu,row sheet.cell(row=1,column=1).value