help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Inferior Python Mode


From: Hadron
Subject: Re: Inferior Python Mode
Date: Tue, 07 Aug 2007 11:08:48 +0200

Matt <mcolemanfamily@gmail.com> writes:

> I am a newbie with emacs and am trying to open an inferior python
> buffer. I have emacs 22.1.1 and python 2.5.1 on a windows xp system.
> Both work well indepenently from eachother (python in IDLE), however,
> when I type "M-x run-python" I get the message "Searching for program:
> no such file or directory, python". Can anyone give me a pointer on
> how to help emacs find and execute pyton?
>
> I at first thought I had to use the lisp command load-path in
> my .emacs file to help emacs find my Python directory but I have had
> no luck with that.
> (setq load-path (cons "C:\Python25" load-path))
>
> Anything would help, even a reference.
>

What do you want to do?

If you have a python file open, emacs 22 should be in python-mode. or
you can open a blank file and M-x python-mode

There should then be a python menu which enables you to run a Python
interpreter in an emacs buffer.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]