LernerPython blog, from Reuven Lerner: Rich tables in Python: Using Table, add_column, and add_row

3 days ago 5
Club.noww.in
 Using Table, add_column, and add_row

Create beautiful tables in Python with Rich:

from rich.table import Table t = Table()

# call once per column:

t.add_column('A') # call once per row with string args, one for each column t.add_row('10', '20', '30')

# print it!

c = Console() c.print(t)

The post Rich tables in Python: Using Table, add_column, and add_row appeared first on LernerPython.

Read Entire Article