[Python-Dev] argparse ugliness

Greg Ewing greg.ewing at canterbury.ac.nz
Mon Mar 8 22:20:38 CET 2010


Mark Russell wrote:
> Boolean flags are a common enough case that I'd be inclined to add a wrapper method,
> 
> 	parser.add_bool_argument('--plot')

+1, this looks good.

-- 
Greg


More information about the Python-Dev mailing list