4 ms·
One question, does python have an equivalent to irb (http://en.wikipedia.org/wiki/Interactive_Ruby_Shell http://en.wikipedia.org/wiki/Interactive_Ruby_Shell)? I
by jackowayed 17y ago
One question, does python have an equivalent to irb (http://en.wikipedia.org/wiki/Interactive_Ruby_Shell http://en.wikipedia.org/wiki/Interactive_Ruby_Shell)? If so, how do you get into/out of blocks?
- paulgb 17y agoYup. If you start the python interpreter, it opens up into an interactive shell. You still have to indent inside the block, and python interprets the code after you enter a blank line. ipython is an improved python shell, with tab-completion and some other cool features.