To load and run a python module on the path:
python -m my_script
optparse
import sys if len(sys.argv) < 2: print 'Error' else: s = sys.argv[1]
http://code.google.com/p/argparse/