Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #13150
| From | Robert Kern <robert.kern@gmail.com> |
|---|---|
| Subject | Re: optionparse: how to add a line break to the help text |
| Date | 2011-09-11 15:22 -0500 |
| Organization | The Church of Last Thursday |
| References | (2 earlier) <op.v1mdm0oba8ncjz@gnudebst> <j4h4dh$60n$1@dough.gmane.org> <4E6C182D.60905@tim.thechases.com> <j4h8lh$qui$1@dough.gmane.org> <4E6C9614.60406@tim.thechases.com> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.1008.1315772560.27778.python-list@python.org> (permalink) |
On 9/11/11 6:05 AM, Tim Chase wrote: > As Ben Finney replied, optparse is now deprecated, replaced in part by argparse. > Unfortunately, argparse wasn't backported to the standard library for earlier > 2.x series (I think it became available in 2.7, and may run in earlier versions > if manually added like I had to do on my Debian Py2.6 install). But that makes > it hard for those of us who want to use a built-in option-parsing library across > a wide variety of Python versions. I don't strongly care which I use except that > I want it to be broadly available with minimal fuss. argparse.py can be simply dropped into your codebase, if you want. That's about as minimal of fuss as you can ask for. http://pypi.python.org/pypi/argparse -- Robert Kern "I have come to believe that the whole world is an enigma, a harmless enigma that is made terrible by our own mad attempt to interpret it as though it had an underlying truth." -- Umberto Eco
Back to comp.lang.python | Previous | Next — Previous in thread | Find similar | Unroll thread
Re: optionparse: how to add a line break to the help text Rafael Durán Castañeda <rafadurancastaneda@gmail.com> - 2011-09-11 00:16 +0200
Re: optionparse: how to add a line break to the help text "Rhodri James" <rhodri@wildebst.demon.co.uk> - 2011-09-11 02:12 +0100
Re: optionparse: how to add a line break to the help text Gelonida N <gelonida@gmail.com> - 2011-09-11 03:54 +0200
Re: optionparse: how to add a line break to the help text Tim Chase <python.list@tim.thechases.com> - 2011-09-10 21:08 -0500
Re: optionparse: how to add a line break to the help text Gelonida N <gelonida@gmail.com> - 2011-09-11 05:07 +0200
Re: optionparse: how to add a line break to the help text Ben Finney <ben+python@benfinney.id.au> - 2011-09-11 15:20 +1000
Re: optionparse: how to add a line break to the help text Gelonida N <gelonida@gmail.com> - 2011-09-11 16:30 +0200
Re: optionparse: how to add a line break to the help text Tim Chase <python.list@tim.thechases.com> - 2011-09-11 06:05 -0500
Re: optionparse: how to add a line break to the help text Robert Kern <robert.kern@gmail.com> - 2011-09-11 15:22 -0500
csiph-web