import xlwtnew_workbook = xlwt.Workbook()worksheet = new_workbook.add_sheet("new_test")worksheet.write(0, 0, "test")new_workbook.save(r"D:mycodefiles est.xlsx")