[IPython-user] python vs. ipython

Fernando.Perez at colorado.edu Fernando.Perez at colorado.edu
Fri Jan 27 10:41:38 CST 2006


Quoting Ville Vainio <vivainio at gmail.com>:

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

> > 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.

But how do you deal with

ipython --xmode=verbose --nobanner myscript.py --foo --bar

?  The first two options should be processed by ipython, but after the script
name the rest should be seen by the user script (and only that).

f




More information about the IPython-user mailing list