I have a script, client.py, that reads command line args straight as a script (not wrapped in a function like main()), like so:
opts, args = getopt.getopt(sys.argv[1:], "l:r:a:j:b:f:n:u:")
and prints a bunch of stuff.
I need to call this script from my code (on Google App Engine, if that matters). It seems that calling
import client
runs client.py as a script, but how do I specify the arguments?