[IPython-user] python vs. ipython
Ville Vainio
vivainio at gmail.com
Fri Jan 27 13:07:14 CST 2006
On 1/27/06, Peter Teuben <teuben at astro.umd.edu> wrote:
> 1) some users that rely on this behaviuor
>
> ipython [flags] script1 script2 script3
>
> will now be upset, since script2 and script3 are not executed anymore!
> Perhaps it is better this way, at least it works much better for me.
I think it's better, it's highly typical for apps to be run with at
least some arguments when launched from command line.
>
> 2) when you use the -c flag
>
> ipython -c 'foo()' foo.py arg1 arg2
>
> the arguments are not seen anymore, since sys.argv is now ['-c']
I think I fixed this already, did you try the version before my fix?
Thanks for the report.
--
Ville Vainio - http://tinyurl.com/2prnb
http://vainio.blogspot.com
More information about the IPython-user
mailing list