I am trying to use emacs to edit and run python programs (emacs23 and python 2.6 on Ubuntu 10.10).
- I read the file in Emacs (
Cx -Cf ) - I start the interpreter (Menu Python - Start interpreter, I have not found a keyboard shortcut for it yet)
- Emacs splits frame in two windows
- I put the cursor in a python file (
Cx o )
Now I want to run Python code in the top window of the Python interpreter in the bottom window. Other places suggested:
Cc Cc but it does nothingCc ! but emacs says this command is undefined
I installed ropemacs ( sudo apt-get install python-ropemacs ) but didn't change anything.
Biogeek
source share