from openpyxl import load_workbookfile = load_workbook(filepath)# 设定默认打开sheet的位置file.active = 0file.save(filepath)