Invoking python from emacs

Kow Kuroda kkuroda at
Tue Aug 13 03:54:09 CEST 2002


Did you set relevant environmental variables in your .emacs file?
It is explained on the following page.

I admit the same problem annoyed me until I found this page out.
I don't know how many times I cursed at emacs.

By the way, emacs's python-mode doesn't work properly with raw_input().
I always get "EOFError: EOF when reading a line" at the line I have the 
Is this a bug? or am I still missing configuration for it?
(Incidentally, I don't have this problem with VIM)

Good luck

On Monday, August 12, 2002, at 05:07 PM, Jason Taylor wrote:

> I want to use emacs to edit python code. I am working on Windows 2000,
> using GNU Emacs 20.7.1 and Python 2.2.1.  I have loaded mode-python.el
> and it adds the menus IM-Python and Python.
> How do I tell emacs where python is? When I try to execute the buffer
> (C-c C-c)I get the following message:
>     'python' is not recognized as an internal or external command,
>     operable program or batch file.
> --

More information about the Python-list mailing list