Invoking python from emacs
Kow Kuroda
kkuroda at crl.ucsd.edu
Mon Aug 12 21:54:09 EDT 2002
Hi,
Did you set relevant environmental variables in your .emacs file?
It is explained on the following page.
http://www.python.org/emacs/python-mode/installation.html
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
construct.
Is this a bug? or am I still missing configuration for it?
(Incidentally, I don't have this problem with VIM)
Good luck
Kow
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.
> --
> http://mail.python.org/mailman/listinfo/python-list
>
More information about the Python-list
mailing list