Groups
Sign in
Groups
argparse-users
Conversations
About
Send feedback
Help
argparse-users
Contact owners and managers
1–30 of 66
Mark all as read
Report group
0 selected
Kashif Ali
,
Ted Stern
2
4/15/13
Argparse seems repititive - help to refactor this code.
Hi Kashif, I recommend installing the argh package, which sets up decorators and other routines to
unread,
Argparse seems repititive - help to refactor this code.
Hi Kashif, I recommend installing the argh package, which sets up decorators and other routines to
4/15/13
Kashif Ali
4/10/13
Argparse inherit options from parent (or common options)
Hi, I am new to argparse and just started using it today. However what I wrote started to become very
unread,
Argparse inherit options from parent (or common options)
Hi, I am new to argparse and just started using it today. However what I wrote started to become very
4/10/13
abhishek bhat
,
Josh English
2
3/29/13
optparse make_option() equivalent in argparse
On Thursday, January 17, 2013 12:24:02 PM UTC-8, abhishek bhat wrote: From the OPTPARSE library
unread,
optparse make_option() equivalent in argparse
On Thursday, January 17, 2013 12:24:02 PM UTC-8, abhishek bhat wrote: From the OPTPARSE library
3/29/13
Sart
12/17/12
Passing another args in quote as a arg
Hello, ./__main__.py -o folder.class.function -a "-k=key" I am trying to pass -k=key to a
unread,
Passing another args in quote as a arg
Hello, ./__main__.py -o folder.class.function -a "-k=key" I am trying to pass -k=key to a
12/17/12
Michael Edwards
11/22/12
nargs.REMAINDER not eating all args
I have some argparse code included below. In it I try to eat a --browsers with nargs=* and a --remote
unread,
nargs.REMAINDER not eating all args
I have some argparse code included below. In it I try to eat a --browsers with nargs=* and a --remote
11/22/12
abhishek bhat
, …
Josh English
4
11/16/12
custom python shell (cmd + argparse)
Months and months later I tried to do this, and made it work, and your question seemed to be the only
unread,
custom python shell (cmd + argparse)
Months and months later I tried to do this, and made it work, and your question seemed to be the only
11/16/12
Ted Stern
6/29/12
keeping track of arguments used
[Using argparse 1.2.1 with Python 2.6] I have developed a semi-standard way of writing python scripts
unread,
keeping track of arguments used
[Using argparse 1.2.1 with Python 2.6] I have developed a semi-standard way of writing python scripts
6/29/12
Mihai Rusu
, …
freeseek
5
6/26/12
Full help on missing subcommand
Another possibility would be to use the following syntax: >>> try: ... args=parser.
unread,
Full help on missing subcommand
Another possibility would be to use the following syntax: >>> try: ... args=parser.
6/26/12
Andrew Todd
,
Giovanni Luca Ciampaglia
3
3/12/12
Subparsers, set_defaults, and func
Apologies for not responding sooner. Bizarrely, I was having this problem on Friday, to the point
unread,
Subparsers, set_defaults, and func
Apologies for not responding sooner. Bizarrely, I was having this problem on Friday, to the point
3/12/12
Benjamin
,
akira
2
2/12/12
argparse eating more than one '--'
On 02/11/2012 11:59 PM, Benjamin wrote: > I am converting some scripts from optparse to argparse,
unread,
argparse eating more than one '--'
On 02/11/2012 11:59 PM, Benjamin wrote: > I am converting some scripts from optparse to argparse,
2/12/12
Steve
,
Steven Bethard
2
12/15/11
Defining argument group for help and version
On Fri, Dec 2, 2011 at 10:32 PM, Steve <steven.ro...@gmail.com> wrote: > Sometimes
unread,
Defining argument group for help and version
On Fri, Dec 2, 2011 at 10:32 PM, Steve <steven.ro...@gmail.com> wrote: > Sometimes
12/15/11
Steve
,
Steven Bethard
2
12/15/11
multiple usage strings
On Fri, Dec 2, 2011 at 10:41 PM, Steve <steven.ro...@gmail.com> wrote: > Is there a
unread,
multiple usage strings
On Fri, Dec 2, 2011 at 10:41 PM, Steve <steven.ro...@gmail.com> wrote: > Is there a
12/15/11
Eduardo Bacchi Kienetz
, …
Steven Bethard
3
6/29/11
mutually exclusive groups + arguments
On Tue, Jun 28, 2011 at 5:50 PM, Eduardo Bacchi Kienetz <edua...@gmail.com> wrote: > I want
unread,
mutually exclusive groups + arguments
On Tue, Jun 28, 2011 at 5:50 PM, Eduardo Bacchi Kienetz <edua...@gmail.com> wrote: > I want
6/29/11
Martin Pengelly-Phillips
,
Steven Bethard
2
6/14/11
Action not invoked for default value
On Fri, Jun 10, 2011 at 12:15 PM, Martin Pengelly-Phillips <d...@thesociable.net> wrote: >
unread,
Action not invoked for default value
On Fri, Jun 10, 2011 at 12:15 PM, Martin Pengelly-Phillips <d...@thesociable.net> wrote: >
6/14/11
MaxB
,
Steven Bethard
2
6/14/11
Nested subparsers?
On Sat, Jun 11, 2011 at 2:09 PM, MaxB <max.be...@gmail.com> wrote: > How can I use the
unread,
Nested subparsers?
On Sat, Jun 11, 2011 at 2:09 PM, MaxB <max.be...@gmail.com> wrote: > How can I use the
6/14/11
Giovanni Luca Ciampaglia
,
Steven Bethard
4
3/31/11
how to tell parse_known_args to not parse all known args
On 30/03/2011 14:15, Steven Bethard wrote: > There's an undocumented feature, nargs=argparse.
unread,
how to tell parse_known_args to not parse all known args
On 30/03/2011 14:15, Steven Bethard wrote: > There's an undocumented feature, nargs=argparse.
3/31/11
Liang Wang
,
Steven Bethard
2
3/26/11
unable to create "subgroups" under mutually exclusive group
On Thu, Mar 10, 2011 at 3:24 AM, Liang Wang <fran...@gmail.com> wrote: > I am new to
unread,
unable to create "subgroups" under mutually exclusive group
On Thu, Mar 10, 2011 at 3:24 AM, Liang Wang <fran...@gmail.com> wrote: > I am new to
3/26/11
doerw...@googlemail.com
,
Steven Bethard
13
1/28/11
Implementing a flag option
On 26 Jan., 12:48, Steven Bethard <steven.beth...@gmail.com> wrote: > On Wed, Jan 26, 2011
unread,
Implementing a flag option
On 26 Jan., 12:48, Steven Bethard <steven.beth...@gmail.com> wrote: > On Wed, Jan 26, 2011
1/28/11
J
,
Steven Bethard
2
1/16/11
how do you delete an argument from a parser dynamically?
On Fri, Jan 14, 2011 at 3:37 PM, J <j...@recessnetworks.net> wrote: > given an argparse
unread,
how do you delete an argument from a parser dynamically?
On Fri, Jan 14, 2011 at 3:37 PM, J <j...@recessnetworks.net> wrote: > given an argparse
1/16/11
Thomas Moschny
, …
Steven Bethard
4
1/7/11
multiple optional positional arguments
On Wed, Jan 5, 2011 at 9:32 AM, Thomas Moschny <thomas....@gmail.com> wrote: > Is it
unread,
multiple optional positional arguments
On Wed, Jan 5, 2011 at 9:32 AM, Thomas Moschny <thomas....@gmail.com> wrote: > Is it
1/7/11
Scott Armitage
,
Steven Bethard
2
1/7/11
Mutually exclusive option groups
On Thu, Jan 6, 2011 at 3:03 PM, Scott Armitage <scott.a...@gmail.com> wrote: > I have
unread,
Mutually exclusive option groups
On Thu, Jan 6, 2011 at 3:03 PM, Scott Armitage <scott.a...@gmail.com> wrote: > I have
1/7/11
Michael Elsdörfer
, …
J
4
12/21/10
mutually exclusive group inside argument group
that patch is much more succinct and achieves the same end result (the patch i proposed overrode the
unread,
mutually exclusive group inside argument group
that patch is much more succinct and achieves the same end result (the patch i proposed overrode the
12/21/10
Ted Stern
,
Steven Bethard
4
11/15/10
Re: questions about argparse
On Fri, Nov 12, 2010 at 11:58 PM, Ted Stern <dodec...@gmail.com> wrote: > ,---- > | $
unread,
Re: questions about argparse
On Fri, Nov 12, 2010 at 11:58 PM, Ted Stern <dodec...@gmail.com> wrote: > ,---- > | $
11/15/10
Jeff
,
Steven Bethard
5
11/12/10
More nuanced help messages
On Thu, Nov 11, 2010 at 10:24 PM, Jeff <jeff....@gmail.com> wrote: > I found the add_help
unread,
More nuanced help messages
On Thu, Nov 11, 2010 at 10:24 PM, Jeff <jeff....@gmail.com> wrote: > I found the add_help
11/12/10
Ted Tibbetts
,
Steven Bethard
2
10/22/10
Closing of FileType-type arguments
On Fri, Oct 22, 2010 at 5:47 AM, Ted Tibbetts <cecinemap...@gmail.com> wrote: > This
unread,
Closing of FileType-type arguments
On Fri, Oct 22, 2010 at 5:47 AM, Ted Tibbetts <cecinemap...@gmail.com> wrote: > This
10/22/10
Nullset
,
Steven Bethard
2
10/13/10
bug in mutual exclusion usage display
On Wed, Oct 13, 2010 at 11:16 AM, Nullset <cxza...@gmail.com> wrote: > When defining
unread,
bug in mutual exclusion usage display
On Wed, Oct 13, 2010 at 11:16 AM, Nullset <cxza...@gmail.com> wrote: > When defining
10/13/10
nkabir
,
Steven Bethard
4
10/8/10
short circuit parsing
On Fri, Oct 8, 2010 at 4:52 PM, nkabir <nka...@gmail.com> wrote: > I managed to accomplish
unread,
short circuit parsing
On Fri, Oct 8, 2010 at 4:52 PM, nkabir <nka...@gmail.com> wrote: > I managed to accomplish
10/8/10
Jay
,
Steven Bethard
3
9/24/10
argparse for Interactive Shell
Thanks for the info! I've filed a documentation feature request http://bugs.python.org/issue9938
unread,
argparse for Interactive Shell
Thanks for the info! I've filed a documentation feature request http://bugs.python.org/issue9938
9/24/10
Keith
,
Steven Bethard
2
8/26/10
Group subparser items?
On Wed, Aug 25, 2010 at 7:59 PM, Keith <ke...@setuplinux.com> wrote: > It it possible to
unread,
Group subparser items?
On Wed, Aug 25, 2010 at 7:59 PM, Keith <ke...@setuplinux.com> wrote: > It it possible to
8/26/10
Martin
,
Steven Bethard
3
8/17/10
Problem with defaults for variable nargs
Hi Steve, Thanks for the quick response and workaround. Bug filed here: http://bugs.python.org/
unread,
Problem with defaults for variable nargs
Hi Steve, Thanks for the quick response and workaround. Bug filed here: http://bugs.python.org/
8/17/10