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(sys.argv[1]): should work fine, if there are no arguments sys.argv[1] will be (should be) null
if(sys.argv[1]):