Best way to run ipython inside of emacs shell?

Sean Richards somebody at nowhere.com
Mon Mar 8 01:51:28 EST 2004


ir4u4 at yahoo.com (Equis Uno) writes:

> Hi,
>
> I just figured out how to run python inside of emacs:
>
> I use meta-x shell to start a shell and then once I see a shell
> prompt I enter the python command and I get a well-behaved python
> shell inside of emacs.
>
> I'm trying to figure out the best way to run ipython inside of emacs.
>
> When I run the ipython shell command inside of an emacs shell it
> does not act very clean (the prompt is messy looking).
>
> So I put two files in my /usr/share/emacs/site-lisp/ dir:
>
> python-mode.el
> ipython.el
>
> I got both files from 
> http://ipython.scipy.org/
>
> I'm not sure what to do next.
>
> So far I've tried this:
>
> -run meta-x ipython while inside of a shell buffer
> -run meta-x ipython while inside of a shell buffer which is running ipython
> -run meta-x ipython while inside of a python-mode buffer
>
> All three of the above ideas obviously don't work.
>
> Please post some clues.
>
> thanks,
>
> -moi

I think you need to read this ...
http://www.python.org/emacs/python-mode/installation.html
and also read the commented section at the top of ipython.el

Sean

-- 
"Hver sin smak", sa vintapperen, han drakk mens de andre sloss.



More information about the Python-list mailing list