Mercurial > hg > PaInt
view paint/main.py @ 38:c9d8abb2026f
error handling
author | Jeff Hammel <jhammel@mozilla.com> |
---|---|
date | Fri, 30 Mar 2012 15:10:49 -0700 |
parents | 7e9eb858d086 |
children | 8cd1fe277856 |
line wrap: on
line source
#!/usr/bin/env python """ python PAckage INTrospection """ import commandparser import package import sys def main(args=sys.argv[1:]): parser = commandparser.CommandParser(package.Package) parser.invoke(args) if __name__ == '__main__': main()