Ole Trenner | 11 Jul 13:22
Picon

Re: Alias question

Dick Moores wrote:
 > I'd like to know how to create an alias to run a script. I've tried
 > alias tri 'run e:\\PythonWork\\Turtle\\randomTriangles.py'

I'm not sure if this is bad or something, but it works:

In [1]: alias test "python e:\\test.py"

In [2]: test
in test.py

(test.py just does "print 'in test.py'")

Cheers,
Ole.

--

-- 
Ole Trenner
<ole <at> jayotee.de>

Gmane