[Python-Dev] argparse ugliness (original) (raw)
Brian Curtin brian.curtin at gmail.com
Fri Mar 5 20:15:58 CET 2010
- Previous message: [Python-Dev] argparse ugliness
- Next message: [Python-Dev] argparse ugliness
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Fri, Mar 5, 2010 at 12:51, Neal Becker <ndbecker2 at gmail.com> wrote:
I generally enjoy argparse, but one thing I find rather ugly and unpythonic.
parser.addargument ('--plot', action='storetrue') Specifying the argument 'action' as a string is IMO ugly.
What else would you propose? FWIW, this is the same in optparse. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.python.org/pipermail/python-dev/attachments/20100305/7a4e0cc6/attachment.html>
- Previous message: [Python-Dev] argparse ugliness
- Next message: [Python-Dev] argparse ugliness
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]