[IPython-User] Arguments in ipython scripts

Nathan West lucretiel@gmail....
Fri Nov 9 00:02:05 CST 2012


Hey all,

I'm using argparse in a .ipy file. I'm trying to test it with -h, but it
keeps sending the argument to ipython, even when I execute the file
directly:

./alarm.ipy -h
<prints ipython help>

Any idea how to forward the argument?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/ipython-user/attachments/20121109/8132668f/attachment-0001.html 


More information about the IPython-User mailing list