newbie question...

r rt8396 at
Fri Dec 12 20:41:21 CET 2008

i was just giving you an example from my script.

this is how arg works
lets say you have a script named
import sys
print sys.argv
call the script with arguments
> 99 100
['C:\\Python25\\', '99', '100']

int(sys.argv[1]) -> 99

More information about the Python-list mailing list