[IPython-user] Cmd line flag -i now works as in normal python

Ville M. Vainio vivainio@gmail....
Sun Aug 26 07:28:31 CDT 2007


In the past, command line flag -i was ignored. Now, it behaves like
the standard python flag, i.e. leaves the ipython session running
after running the script (ipython test.ipy) or a -c statement from
command line (ipython -i -c "print 'hello world' "):

d:\ipython>python IPython.py -c "print 10"
10

d:\ipython>python IPython.py -i -c "a=10"

In [2]: print a
10

In [3]:

It would be cool if emacs users tried this out, because apparently the
-i flag was previously ignored to provide for emacs. It should not
break it though.

-- 
Ville M. Vainio - vivainio.googlepages.com
blog=360.yahoo.com/villevainio - g[mail | talk]='vivainio'


More information about the IPython-user mailing list