from openpyxl import load_workbookfile = load_workbook(filepath)# 删除sheet del file['Sheet1']file.save(filepath)