Redirected from page "Option parsing tools"

Clear message

Overview of Python modules for option parsing:

External tools:

The goal of option parsing

The option parsing goal can be split in two parts:

  1. identifying the command user needs to execute
  2. changing configuration for the program

For the first part, it will be good if option parsing library could handle 'subcommands'. It is known that 'argparse' can do this and 'optparse' cannot. 'docopt' probably handles this transparently.

For the second thing there should be some strategy to choose how (and which) options are merged into configuration to make the process of program configuration easy for the user and occasional patch contributors.

See also ConfigParser.

OptionParsing (last edited 2013-03-18 17:49:13 by techtonik)

Unable to edit the page? See the FrontPage for instructions.