IPython also allows you to paste in '>>> foo()' and it treats it as 'foo()'. Really smart, and not an obvious thing to implement.
miniblog.
Related Posts
Excellent discussion of how REPL programming enables you to write code incrementally, going beyond what you can do with e.g. ipython or ghci.
Jedi, the excellent Python code completion library used by many editors and even ipython, now supports mypy annotations in Python 2! https://github.com/davidhalter/jedi/issues/946 🎉
Amazing Clojure REPL demo, with integrated docs, search, multiline editing and inline evaluation. Pythonistas are spoilt with ipython, but this compares very favourably! https://twitter.com/bhauman/status/959170037025329153