DEV Community

Discussion on: A few Python REPL config tricks

Collapse
 
jonathaneunice profile image
Jonathan Eunice

Importing favored tools and having debugging-on-tap are both great tricks. Love the show-what's-there functions!

The Python REPL, however, is not where it's at. Primitive in 2018. Recommend you try IPython (an enormously improved interactive REPL). Or better yet, Jupyter, which is IPython plus a web-based interactive explore/develop environment. Comes in 2 flavors, Jupyter Notebooks is the mainstream, stable experience; Jupyter Lab is the next-gen interface just now emerging. These take a little getting used to, but they are beyond fantastic upgrades to the old REPL. Once you use them, you'll wonder how you ever made do in the original REPL.

Collapse
 
kenbellows profile image
Ken Bellows

Nice, I'll have to check it out! Do they work with pdb or something similar for debugging? I was working in an environment where an IDE was infeasible, so CLI was all I had to work with