« * K @lernerpython.com

Reuven M. Lerner @lernerpython.com

2026-11-17 16:30 UTC

The "console" object in #Python Rich lets you separate formatting from the text: from rich.console import Console c = Console() c.print('this is amazing', style='bold red on yellow') c.print('this is amazing', style='italic blue on red')

1 picture (not shown on this phone)

2 likes, 0 reposts, 0 replies

3 Next post4 More from @lernerpython.comBackBluesky home
☆ Save to home · 0 Home · Find · Games · Chat · AI · Setup