rich:
emphesis
Print statements are nice but you can make them (literally) richer than just plain text. The rich package helps you do just that.
Notes
Here's the code used in this video.
from rich.console import Console
console = Console()
console.print("This is some text.")
console.print("This is some text.", style="bold")
console.print("This is some text.", style="bold underline")
console.print("[bold]This [underline]is[/] some text.[/]")
Feedback? See an issue? Something unclear? Feel free to mention it here.
If you want to be kept up to date, consider signing up for the newsletter.