Post #1350649
2026-04-18 18:21 UTC
Python Tip #108 (of 365):
Don't use semicolons.
Want to put 2 statements on one line?
from rich.traceback import install; install(show_locals=True)
Don't.
Just use 2 lines:
from rich.traceback import install
install(show_locals=True)
It's more readable.
That's the entirety of today's tip. 🤷
#Python #DailyPythonTip
Replies (0)
No replies.