how to(can we ?) pass argument to .py script ?

2005-10-11 Thread quiteblack
howdy~ i wrote a .py file and it works fine, my goal is to pass argument to that py file when it get executed, and accept that argument within py file, eg. i prefer a command like below: python test.py -t and then, i may get "-t" within test.py for later use. i have no ideas how to do and i'm r

how to execute .exe file ?

2005-10-11 Thread quiteblack
hi all~ i used to drive .exe file working by writing a simple batch file, i thin python may do this as well bu i dunno how to, any help ? -- http://mail.python.org/mailman/listinfo/python-list

Re: how to(can we ?) pass argument to .py script ?

2005-10-11 Thread quiteblack
hey i got it ! tks guys ! -- http://mail.python.org/mailman/listinfo/python-list