My favorites | Sign in
Project Logo
                
Code license: Apache License 2.0
Labels: Python, command-line
People details
Project owners:
  steven.bethard
Project committers:
ubershmekel

argparse: Python command line parser

The argparse module provides an easy, declarative interface for creating command line tools, which knows how to:

The argparse module improves on the standard library optparse module in a number of ways including:

The argparse documentation gives some example code, explains how to use all these features, and provides some information on how to upgrade from optparse.

Note that besides the downloads available here, you can also just download the single argparse.py module from the repository.









Hosted by Google Code