rich/examples/group.py
2021-07-28 09:10:23 +01:00

9 lines
206 B
Python

from rich import print
from rich.console import Group
from rich.panel import Panel
panel_group = Group(
Panel("Hello", style="on blue"),
Panel("World", style="on red"),
)
print(Panel(panel_group))