Mercurial > hg > MakeItSo
view templates/script.py @ 6:ac78e26cd568
starting on web example; i have to understand more about shebangs
author | Jeff Hammel <jhammel@mozilla.com> |
---|---|
date | Wed, 10 Nov 2010 18:11:11 -0800 |
parents | 08a50935e941 |
children | 3bf29175907c |
line wrap: on
line source
#!/usr/bin/env """ utlities related to getting JSON into couchdb """ 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()