[Python-Dev] argparse ugliness

Neal Becker ndbecker2 at gmail.com
Fri Mar 5 19:51:15 CET 2010


I generally enjoy argparse, but one thing I find rather
ugly and unpythonic.

    parser.add_argument ('--plot', action='store_true')

Specifying the argument 'action' as a string is IMO ugly.



More information about the Python-Dev mailing list