[IPython-user] Passing arguments to run command

Jeremy Conlin jeremit0@gmail....
Mon May 11 12:46:00 CDT 2009


I am running a Python script from iPython with a command like
> run myScript.py c test*.dat

In the directory from which I run the command I have files named:

test0.dat
test1.dat
...
test9.dat

I would like all of these passed to my Python script when I issue the
command shown above.  However this isn't happening.  Instead I get the
string "test*.dat" passed.  Can someone show me a workaround?

Thanks,
Jeremy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/ipython-user/attachments/20090511/29d11759/attachment.html 


More information about the IPython-user mailing list