I'm trying to write some python, and I'm used to the lazy way of doing something, REPL in EMACS and the ability to send arbitrary code snippets to REPL. I like this way of developing code, and the built-in IDLE for python seems to do it pretty well. However, I like EMACS as an editor.
What is the best SLIME-like thing for Python?
Still:
It seems like the trick is to open the python file and then use the "Start Interpreter" from the Python menu, after which you will get an Inferior Python buffer. You can then use Cc Cc to load the entire buffer you edit into "REPL" and use plain copy and paste to add snippets to the REPL.
It works as much as possible. Is there a way to say "overestimate the big thing the cursor is in and display the answer", or "overestimate the cursor at the end and display the answer", for example MCx and Cxe in SLIME?
And it all works better if you use python-mode.el from Bozidar's answer
python emacs slime
John lawrence aspden
source share