Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.3 / 3....
  • LibreOffice 3.6.6 / 4.0.3
  • MPlayer 1.1.1
  • systemd 204
  • Arch Linux 2013.05.01
  • Blender 2.67
  • KDE Software Compilatio...
  • CrunchBang Linux Stable...
  • Elementary OS 0.1 / 0.2...
  • SystemRescueCd 3.6.0
  • Home > Linux > Programming > Libraries

    Argparse 1.2.1

    Download button

    No screenshots available
    Downloads: 911  View global page NEW!  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Steven Bethard | More programs
    The Apache License 2.0 / FREE
    April 2nd, 2011, 10:04 GMT
    ROOT / Programming / Libraries

     Read user reviews (0)  Refer to a friend  Subscribe

    Argparse description

    Python command-line parsing

    Argparse is a Python module that makes writing command-line tools, in Python, easy. Just briefly describe your command line interface and argparse will take care of the rest, including:

    * parsing the arguments and flags from sys.argv
    * converting arg strings into objects for your program
    * formatting and printing any help messages
    * and much more ...

    For those familiar with the optparse module from the Python standard library, argparse improves on this module in a number of ways, including:

    * handling positional arguments
    * supporting sub-commands
    * allowing alternative option prefixes like + and /
    * handling zero-or-more and one-or-more style arguments
    * producing more informative usage messages
    * providing a much simpler interface for custom types and actions

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


    Product's homepage

    Requirements:

    · Python

      


    TAGS:

    command-line parser | optparse parsing | Python library | Python | command-line | parser

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM