I can call my script like this:
python D:\\myscript.py 60
And in the script I can do:
arg = sys.argv[1] foo(arg)
If you're using Python 2.7/3.2, use the argparse module. Otherwise, use the optparse module. The module takes care of parsing the command-line, and you can check whether the number of positional arguments matches what you expect.