from openpyxl import Workbook wb = Workbook() ws = wb.active ws['B2'] = 25 path = 'valami.xlsx' wb.save(path)