[Python-Dev] argparse ugliness (original) (raw)
Greg Ewing greg.ewing at canterbury.ac.nz
Mon Mar 8 22:20:38 CET 2010
- Previous message: [Python-Dev] argparse ugliness
- Next message: [Python-Dev] argparse ugliness
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Mark Russell wrote:
Boolean flags are a common enough case that I'd be inclined to add a wrapper method,
parser.addboolargument('--plot')
+1, this looks good.
-- Greg
- Previous message: [Python-Dev] argparse ugliness
- Next message: [Python-Dev] argparse ugliness
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]