prettytable
prettytable copied to clipboard
Align one column at a time doesn't work.
This code doesn't work:
table.align["City name"] = "l"
table.align["Area"] = "c"
table.align["Population"] = "r"
table.align["Annual Rainfall"] = "c"
print(table)
Only works all columns at once: table.align = "r"