How to Use Print in Jupyter Interactive Notebook for Better Debugging and Output?

20 Replies, 2047 Views

Wow, thanks for all the awesome tips, everyone! I’ve been trying out `icecream` and it’s been a game-changer for debugging. The progress bar idea with `tqdm` is genius too—definitely gonna use that.

Quick question though: has anyone tried combining print in Jupyter interactive notebook with `pdb`? I’m curious how well they work together for more complex debugging.

Also, shoutout to the `pprint` suggestion—nested dictionaries are so much cleaner now. Cheers! 🚀



Users browsing this thread: 1 Guest(s)