KD Jayakody

Call Us: 076 72 33 595

Make a Balance Sheet format using Excel and Python

Copy the following code lines and paste them to the python idle. You will be able to get a new excel file like the following. from openpyxl import Workbook from openpyxl.styles import Font # Create a new workbook workbook = Workbook() # Select the active sheet sheet = workbook.active # Set column widths sheet.column_dimensions[‘A’].width = […]