Mercurial > hg > carton
view tests/packageA/packageA.py @ 40:39fa450b21bd default tip
updates for today
author | Jeff Hammel <k0scist@gmail.com> |
---|---|
date | Mon, 22 Feb 2016 14:16:09 -0800 |
parents | 29b36a390857 |
children |
line wrap: on
line source
#!/usr/bin/env python """ packageA """ import sys from optparse import OptionParser def main(args=sys.argv[1:]): # parse command line arguments usage = '%prog [options] ...' parser = OptionParser(usage=usage, description=__doc__) options, args = parser.parse_args(args) if __name__ == '__main__': main()