11 Jul 13:22
Re: Alias question
From: Ole Trenner <ole <at> jayotee.de>
Subject: Re: Alias question
Newsgroups: gmane.comp.python.ipython.user
Date: 2008-07-11 11:22:54 GMT
Subject: Re: Alias question
Newsgroups: gmane.comp.python.ipython.user
Date: 2008-07-11 11:22:54 GMT
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>
RSS Feed