lets say I have a list like so:
[\'one\',\'two\',\'three\',\'four\',\'five\',\'six\',\'seven\',\'eight\',\'nine\']
and I want to experiment
Use tabulate
from tabulate import tabulate table = [['one','two','three'],['four','five','six'],['seven','eight','nine']] print(tabulate(table, tablefmt='html'))
Which produces the following output.
one two three four five six seveneightnine