[IPython-user] Passing arguments to run command
Mon May 11 22:02:11 CDT 2009
Another question to ask:
Any idea how to make a script visible to run command independent of the
directory. Like putting scripts in /bin folder for system to look for.
I define an alias in pythonrc file but for some reason it only helps me to
call the script without run command. Unfortunately, my namespace contents
can't get updated in this fashion.
On Mon, May 11, 2009 at 9:44 PM, Gökhan SEVER <firstname.lastname@example.org> wrote:
> On my ipython run script $files.s runs only one script not the consequent
> arguments given with $files.s
> On Mon, May 11, 2009 at 2:50 PM, Jeremy Conlin <email@example.com> wrote:
>> On Mon, May 11, 2009 at 3:21 PM, Ville M. Vainio <firstname.lastname@example.org>wrote:
>>> On Mon, May 11, 2009 at 8:24 PM, Gökhan SEVER <email@example.com>
>>> > In : files = !ls test*
>>> > In : for i in files:
>>> > ....: run myScripy.py $i
>>> Or run use
>>> %run $files.s
>> This does the trick.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the IPython-user