violll / pokemonDataTools

0 stars 0 forks source link

Add more formatting to the table #21

Open violll opened 3 months ago

violll commented 3 months ago

Autofit column size

set the column width using: worksheet.column_dimensions["A"] useful link to manually calculate widths

Horizontal align

sheet.alignment = openpyxl.styles.alignment.Alignment(horizontal="center")