[IPython-user] how to use ipython in xemacs on winxp

wang frank fw3@hotmail.co...
Mon Nov 19 15:03:25 CST 2007


Hi, Pete,
 
Thanks for the help.
 
I have done all procedures of what you said. However, after I type M-x py-shell, I did not get the command prompt. If I type ls in the frame, I will see the list of file and also the In[] and Out[] prompt from ipython. 
 
the ipython.bat contains: c:\python25\python c:\python25\scripts\ipython.py
 
Where did you get the python-mode.el version 4.79? I can only find the verion 4.75.
 
Here is the python shell out put after I typy ls.
 
In [10]: In [11]: In [11]:  Volume in drive C has no label. Volume Serial Number is 6406-BBE2
 Directory of c:\Documents and Settings\ywang44
2007-11-18  21:32    <DIR>          .2007-11-18  21:32    <DIR>          ..2006-01-04  21:13                 5 .bash_history2006-06-28  16:07    <DIR>          .p4qt2006-07-10  14:51    <DIR>          .p4scc2006-10-03  09:42            16,329 _viminfo2007-10-12  16:20             4,433 12007-11-16  22:05    <DIR>          Desktop2007-11-17  23:04    <DIR>          Favorites2007-11-13  17:24    <DIR>          My Documents2007-10-04  08:24    <DIR>          Phone Browser2006-12-27  09:57             2,440 ProSet2XML.log2006-04-19  19:36               600 PUTTY.RND2007-09-06  12:25    <DIR>          Scilab2007-01-08  15:04    <DIR>          Start Menu2005-12-16  20:52    <DIR>          VSWebCache2005-09-15  08:14    <DIR>          WINDOWS2007-10-12  08:28    <DIR>          workspace               5 File(s)         23,807 bytes              13 Dir(s)   8,505,108,992 bytes freec:\python25\scripts\ipy.bat -i -colors LightBG
 
You can see after the last line, there are no commad prompt.
 
How could I solve this problem?
 
Thanks
 
Frank> To: ipython-user@scipy.net> From: pete.forman@westerngeco.com> Date: Mon, 19 Nov 2007 11:26:31 +0000> Subject: Re: [IPython-user] how to use ipython in xemacs on winxp> > wang frank <fw3@hotmail.co.jp> writes:> > > I am struggling to make the ipython works with xemacs on winxp. I> > have been searching in the internet and follwoing these> > instrucitons but still it does not work.> >> > My ipython version is 0.8.1 and python-mode is 4.76. Xemacs is> > version 22.1. When I type M-x load library ipython, emacs responses> > it is done. then I type M-x py-shell, xemacs opens a python> > window. but without start the ipython. So I coulde not do> > anything. If I quit the xemacs, it will say an active process is> > still running do you want to kill?> >> > Does anyone have successuffly use ipython in xemacs? If so could> > you share your procedure with me?> > In ~/.xemacs/init.el:> > (setq ipython-command "d:/Program Files/Python25/Scripts/ipython.bat")> (require `ipython)> > In ~/.xemacs/custom.el, i.e. set with customize:> > (py-python-command-args '("-pylab" "-colors" "LightBG"))> > Then I start it with M-x py-shell, or its binding C-c ! in a python> file's buffer.> > python-mode 4.79> ipython 1851 (0.7.3 I think)> XEmacs 21.5.17> Windows XP SP2> Python 2.5.1> --> Pete Forman -./\.- Disclaimer: This post is originated> WesternGeco -./\.- by myself and does not represent> pete.forman@westerngeco.com -./\.- the opinion of Schlumberger or> http://petef.port5.com -./\.- WesternGeco.> > _______________________________________________> IPython-user mailing list> IPython-user@scipy.org> http://lists.ipython.scipy.org/mailman/listinfo/ipython-user
_________________________________________________________________
ほら、変わったでしょ? マイクロソフトといっしょに、次のデジタルライフへ
http://go.windowslive.jp/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ipython.scipy.org/pipermail/ipython-user/attachments/20071119/e64fe8d2/attachment.html 


More information about the IPython-user mailing list