How to handle an excel file (Python+Excel method #3, w/xlsxwriter)

import xlsxwriterinput_folder = '/Users/tippang/PycharmProjects/pythonProject2/tmp'
excel_file = input_folder + 'tst5.xlsx'
wb = xlsxwriter.Workbook(excel_file)ws = wb.add_worksheet()ws.set_row(0,10)
ws.set_row(1,30)
ws.set_row(2,50)
ws.set_column(0, 0, 10)
ws.set_column(1, 3, 30)
ws.set_column(3, 4, 50)
ws.write('A1',"height : 10, width : 10")
ws.write('A2',"height : 30, width : 30")
ws.write('A3',"height : 50, width : 50")
wb.close()print("created file", excel_file)

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store