Tutorial on how to use Emacs to program Python

Peter Wu peterwu at hotmail.com
Mon Feb 17 00:30:45 EST 2003


Tom Bryan wrote:

> Peter Wu wrote:
>
>> I have read those links before posting my question. In fact, the
>> question becomes "how to correctly install the python-mode.el?". I
>> copied it to the list dir before doing the Byte Compiling but it did
>> not help. :(
>   ^^^^
>
> I assume you meant "lisp" instead of "list."

Sorry for the typo. It should have been 'lisp' there.

> Anyway, could you post your .emacs file and the directory listing
> showing where your python-mode.el file is located?  Also, if Emacs
> shows any errors or warnings when it starts (check the terminal if you
> started from the command line; also check for the *Warnings* buffer in
> Emacs).

Now, I'm running Emacs on WinXP. I downloaded the python-mode.el to
C:\emacs-21.2\lisp.

The .emacs just contains something related to Gnus mail/news management.
No code for Python, which is what I am looking for.

I tried M-x load-library RET python-mode RET before opening a base64.py.
But, Emacs still tells me (Fundamental). IIRC, if I open a .pl file, Emacs
correctly reports that it runs under Perl mode then. Thanks for your help!

--
Cheers, Peter






More information about the Python-list mailing list