[IPython-user] Passing arguments to run command
Mon May 11 13:38:14 CDT 2009
I meant in ipython.
It does run actually if an alias be defined for the script. However, in this
case I can't get variables and /or results in to the ipython's namespace.
On Mon, May 11, 2009 at 1:35 PM, Jeremy Conlin <firstname.lastname@example.org> wrote:
> On Mon, May 11, 2009 at 2:24 PM, Gökhan SEVER <email@example.com>wrote:
>> This might be might a solution for your case:
>> In : files = !ls test*
>> In : 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.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the IPython-user