[IPython-user] Passing arguments to run command

Jeremy Conlin jeremit0@gmail....
Mon May 11 13:35:21 CDT 2009


On Mon, May 11, 2009 at 2:24 PM, Gökhan SEVER <gokhansever@gmail.com> wrote:

> Hi,
>
> This might be might a solution for your case:
>
> In [1]: files = !ls test*
>
> In [2]: for i in files:
>    ....:     run myScripy.py $i
>
> However, there could be a simpler solution that I don't know of as well.
>
> Do you have any idea how to run your script without issuing a "run" command
> in front of it?
>

I can run my command just fine in bash without any problems by replacing
"run" with python.

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


More information about the IPython-user mailing list