File Manager V1.5

[SYSTEM@ROOT]: /usr/share/doc/python3-rich/examples/
INJECT_FILE:
NEW_ENTRY:

FILE_CONTENT: justify2.py

"""
This example demonstrates the justify argument to print.
"""

from rich.console import Console
from rich.panel import Panel

console = Console(width=20)

style = "bold white on blue"
panel = Panel("Rich", style="on red", expand=False)
console.print(panel, style=style)
console.print(panel, style=style, justify="left")
console.print(panel, style=style, justify="center")
console.print(panel, style=style, justify="right")
[ KEMBALI ]