logo


rich


<p>Print statements are nice but you can make them (literally) richer than just plain text. The <a href="https://rich.readthedocs.io/">rich</a> package helps you do just that.</p>


1 - Introduction
2 - Style
3 - Emphesis
4 - Theme
5 - Emoji
6 - Log
7 - Traceback
8 - Save
9 - Tables
10 - Main

You will need to install the tool before you can use it.

python -m pip install rich

Here's the code used in this video.

from rich import print

print(f"I wonder what this looks like 1 + 1 = {1 + 1}")
print({"a": [1, 2, 3], "b" : {"c" : 1}})