Mercurial > hg > MakeItSo
view makeitso/python_package/{{package}}/main.py @ 129:57834c2b0937
add a single-file module to the thingy
author | Jeff Hammel <jhammel@mozilla.com> |
---|---|
date | Fri, 08 Jul 2011 10:43:48 -0700 |
parents | 8c326f764cfe |
children | d9201f911458 |
line wrap: on
line source
#!/usr/bin/env python """ {{description}} """ import sys from optparse import OptionParser def main(args=sys.argv[:]): usage = '%prog [options]' parser = OptionParser(usage=usage, description=__doc__) options, args = parser.parse_args(args) if __name__ == '__main__': main()