[Tutor] sys.argv[1: ] help

Danny Yoo dyoo at hkn.eecs.berkeley.edu
Sun Feb 27 23:35:34 CET 2005


> Add a file called 'test.cmd' in the same directory as your 'test.py'
> program with the following content:
>
> ###
> python test.cmd %*
> ###


Scratch that!  *grin* Sorry, meant to write that the test.cmd should
contain:

###
python test.py %*
###


Darn it, but I don't have a Windows box handy to test this.  Can someone
double check this to make sure I haven't screwed up again?


Sorry about that; I should never post anything without testing it first.



More information about the Tutor mailing list