<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body class='hmmessage'>
Hi, Pete,<BR>
<BR>
After changing my ipython.bat the same as yours:<BR>
<BR>
C:\Python25\python.exe -i c:\python25\scripts\ipython %<BR>
<BR>
I can get the ipython works almost. The problem is the output of some command does not display. For example, the ls command works fine. However, if I do:<BR>
<BR>
In[18}: import os<BR>
In[19]: dir(os)<BR>
In[20}:<BR>
<BR>You see that the output of dir(os) does not show up. How could I fix this problem or debug it?<BR>
<BR>
Thanks<BR>
<BR>
Frank<BR>
<BR>
<BR>> To: ipython-user@scipy.net<BR>> From: pete.forman@westerngeco.com<BR>> Date: Wed, 21 Nov 2007 17:26:52 +0000<BR>> Subject: Re: [IPython-user] how to use ipython in xemacs on winxp<BR>> <BR>> wang frank <fw3@hotmail.co.jp> writes:<BR>> <BR>> > the ipython.bat contains:<BR>> > c:\python25\python c:\python25\scripts\ipython.py<BR>> <BR>> My ipython.bat has an extra -i option for python, and accepts args for<BR>> ipython. It's on one line, split for posting:<BR>> <BR>> "d:\Program Files\Python25\python.exe" -i<BR>> "d:\Program Files\Python25\Scripts\ipython" %*<BR>> <BR>> The ipython file referenced there was installed by IPython I think.<BR>> Its two lines of code are:<BR>> <BR>> import IPython<BR>> IPython.Shell.start().mainloop()<BR>> <BR>> <BR>> IPython need to be started early, starting it from within an already<BR>> active Python shell does not work.<BR>> <BR>> > Where did you get the python-mode.el version 4.79? I can only find<BR>> > the verion 4.75.<BR>> <BR>> I've already answered this, SF SVN. IIRC you need an up to date<BR>> python-mode.el for ipython.el to work.<BR>> -- <BR>> Pete Forman -./\.- Disclaimer: This post is originated<BR>> WesternGeco -./\.- by myself and does not represent<BR>> pete.forman@westerngeco.com -./\.- the opinion of Schlumberger or<BR>> http://petef.port5.com -./\.- WesternGeco.<BR>> <BR>> _______________________________________________<BR>> IPython-user mailing list<BR>> IPython-user@scipy.org<BR>> http://lists.ipython.scipy.org/mailman/listinfo/ipython-user<BR><BR><br /><hr />10$B7n$N%-!<%o!<%I7n4V%i%s%-%s%0(B1$B0L$O!V=i2;%_%/!W!"(B2$B0L$O2HB2$0$k$_$N!&!&!&(B <a href='http://clk.atdmt.com/GBL/go/msnjpqjl0040000012gbl/direct/01/' target='_new'>http://keyword.jp.msn.com/default.aspx</a></body>
</html>