Hierarchical commnd line parsing / help texts

Ian Kelly ian.g.kelly at gmail.com
Mon Sep 26 22:33:54 CEST 2011


On Mon, Sep 26, 2011 at 2:11 PM, Tim Chase
<python.list at tim.thechases.com> wrote:
> On 09/26/11 13:57, Prasad, Ramit wrote:
>>>
>>> It seems it's time to start reading about argparse
>>
>> FYI, it only appears on Python 2.7+
>
> However I believe it can be uneventfully copied and run under several
> versions earlier (likely back to 2.5, perhaps to 2.4 -- I no longer have 2.4
> at my fingertips to test).

For older versions it would be best to use the Google project, which I
think is still maintained and backported:

http://code.google.com/p/argparse/



More information about the Python-list mailing list