import openpyxl wb=openpyxl.Workbook() ws = wb.active ws['A1'] ='Python' wb.save('F:/top250/hello.xlsx')