getopt not raising exception

Emmanuel Surleau emmanuel.surleau at gmail.com
Sun Jan 10 17:08:28 EST 2010


> Matt Nordhoff wrote:
>  > BTW: Checked out optparse? It's bigger and sexier!

If you're doing things with positional arguments, you should consider using 
argparse (http://argparse.googlecode.com/svn/tags/r101/doc/index.html). It's 
like optparse, but (much) better.

Cheers,

Emm



More information about the Python-list mailing list