Python Shell in Emacs 24? Python Shell in Emacs 24? python python

Python Shell in Emacs 24?


It seems like you only solved the python-mode issue. As to M-x-python-shell you can also get this by doing M-x-run-python. If it says directory not found its because the the python variable is not pointing to the correct path. So do C-h-f run-python then it will tell you that run-python's value is python-shell-interpreter. So then point it to python.exe in your python folder.

add this to your .emacs file

(setq python-shell-interpreter "path to python.exe")

Then like in emacs 23 you can do C-c-C-c to run a .py file.

edit-the reason i have all of this here even though you may already of known this is because i didnt realize that emacs24 changed the python value for run-python for a while and this is how i fixed it. :D