Skip to content
Discussion options

You must be logged in to vote

This isn't exactly what you asked for but maybe it's an option for what you want.

from rich.console import Console
from rich.table import Table

console = Console()

table = Table(show_header=False, expand=True)
table.add_column("date", ratio=1)
table.add_column("title") 
table.add_row("Dec 20, 2019", "Star Wars: The Rise of Skywalker")

console.print(table)

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@nschloe
Comment options

Answer selected by willmcgugan
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants