lets say I have a list like so:
[\'one\',\'two\',\'three\',\'four\',\'five\',\'six\',\'seven\',\'eight\',\'nine\']
and I want to experiment
another choice is prettytable:
from prettytable import PrettyTable
pt = PrettyTable()
if you want to generate html format:
print(pt.get_html_string())
if only generate ascii format table:
print(pt.get_string())
pls refer to the official document: https://ptable.readthedocs.io/en/latest/tutorial.html for more option, eg enable different kinds of style.
enjoy.