[IPython-user] Passing arguments to run command
Jeremy Conlin
jeremit0@gmail....
Mon May 11 14:50:23 CDT 2009
On Mon, May 11, 2009 at 3:21 PM, Ville M. Vainio <vivainio@gmail.com> wrote:
> On Mon, May 11, 2009 at 8:24 PM, Gökhan SEVER <gokhansever@gmail.com>
> wrote:
>
> > In [1]: files = !ls test*
> >
> > In [2]: for i in files:
> > ....: run myScripy.py $i
>
> Or run use
>
> %run $files.s
>
This does the trick.
Thanks,
Jeremy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/ipython-user/attachments/20090511/a65cce40/attachment.html
More information about the IPython-user
mailing list