Python tracebacks are ugly by design, the information from the traceback looks line for line identically, without direct pointing to the issue.
rich is a tiny python library which brings some color into the python game and makes the output of tracebacks nice and readable.
$ pip3 install rich
Example:
from rich.traceback import install
install()
destination = 'http://api.example.com'
print(dest)
Leave a Reply