4 usage: %(progname)s [args] 8 import os, sys, string, time, getopt
21 print __doc__ % vars()
23 def main(argv, stdout, environ):
25 optlist, args = getopt.getopt(argv[1:],
"", [
"help",
"test",
"debug"])
29 for (field, val)
in optlist:
33 elif field ==
"--debug":
35 elif field ==
"--test":
38 test(
"scott",
"hassan@dotfunk.com")
41 if __name__ ==
"__main__":
42 main(sys.argv, sys.stdout, os.environ)
def main(argv, stdout, environ)