[IPython-user] python vs. ipython

Ville Vainio vivainio at gmail.com
Fri Jan 27 10:05:37 CST 2006


On 1/27/06, Fernando Perez <Fernando.Perez at colorado.edu> wrote:

> > Apart from compatibility, is there a convincing reason for not
> > changing sys.argv to be the same as in "real" python while running the
> > scripts in command line? It would of course be changed back after done
> > with the script...
>
> No, I think that's fine. A good warning in the changelog / next release notes

Done in svn.

> call to do the same is, I think, perfectly consistent.  I'm not sure though if
> the options parsing stuff we use will deal correctly with options meant for
> the script and not for ipython...

I don't use the options parsing stuff, just snip item 0 from plain old sys.argv.

--
Ville Vainio - http://tinyurl.com/2prnb
http://vainio.blogspot.com




More information about the IPython-user mailing list