Python: how to identify error location – any tips for quickly finding where things went wrong? or Str

16 Replies, 1488 Views

Wow, thanks for all the tips! Python: how to identify error location is way less scary now.

I tried `icecream` and it’s so much cleaner than my old `print()` spam. Also gave `pdb++` a shot—way better than vanilla `pdb`.

One follow-up: anyone use `PySnooper`? Saw it mentioned somewhere for auto-tracing functions. Worth the hype?

Thanks again y’all, this thread’s a goldmine!

Messages In This Thread



Users browsing this thread: 1 Guest(s)