Validating Command Line Options

Jonathan Gossage jgossage at gmail.com
Wed Mar 23 22:04:55 EDT 2011


See inline comments

On Wed, Mar 23, 2011 at 2:13 PM, Alex Willmer <alex at moreati.org.uk> wrote:

> On Mar 23, 3:20 pm, T <misceveryth... at gmail.com> wrote:
> > Thanks!  argparse is definitely what I need..unfortunately I'm running
> > 2.6 now, so I'll need to upgrade to 2.7 and hope that none of my other
> > scripts break.
>
> Argparse was a third-party module before it became part of the std-
> lib. You may find it easier to use this version:
>
> http://pypi.python.org/pypi/argparse/


I have used this version successfully on 2.6 including using mutually
exclusive groups.

>
> --
> http://mail.python.org/mailman/listinfo/python-list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20110323/81272900/attachment.html>


More information about the Python-list mailing list