from openpyxl import load_workbookfile = load_workbook(filepath)# 移动sheet# 将"Sheet1" 向右位移三个单位file.move_sheet(file['Sheet1'],3)file.save(filepath)