A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2010-March/098313.html below:

[Python-Dev] argparse ugliness

[Python-Dev] argparse ugliness [Python-Dev] argparse uglinessRobert Kern robert.kern at gmail.com
Mon Mar 8 22:35:46 CET 2010
On 2010-03-08 15:20 PM, Greg Ewing wrote:
> 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.

I've added it to the argparse bugtracker, along with my suggested spelling 
add_flag():

   http://code.google.com/p/argparse/issues/detail?id=62

-- 
Robert Kern

"I have come to believe that the whole world is an enigma, a harmless enigma
  that is made terrible by our own mad attempt to interpret it as though it had
  an underlying truth."
   -- Umberto Eco

More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4