How to install argparse
- Download and install ActivePython
- Open Command Prompt
- Type
pypm install argparse
Depended by
- a2svm
- a8
- aaargh
- abl.cssprocessor
- abu.admin
- Aesthete
- alembic
- amo-validator
- android2po
- anolis
- antispoofing.fusion_faceverif
- anvil-build
- aodag.scaffold
- appscale-tools
- argh
- autoextractor
- automa
- avalonms
- aws-trade-in
- awscli
- bae
- banter
- barman
- Batman
- BBQSQL
- Beaver
- bellatrix
- benchmark-harness
- bg.crawler
- billy
- Blogofile
- bloom
- bo
- bossy
- bu
- buffpy
- bulbs
- bunnyq
- bztools
- canari
- caribou
- catarc
- catsnap
- cbagent
- cc.licenserdf
- cctrl
- cgroup-utils
- checker
- cheshire3
- cif
- clastic
- cli53
- cli_tools
- clifresh
- clipy
- clixbuild
- clixevolve
- closet
- closure_depresolver
- cloudkick_supervisord
- cloudooo
- cloudpy
- clusto
- clutchclient
- cmdbot-evented
- Cnc25D
- cobe
- codebackup
- codepadr
- colout
- commando
- commcare-export
- compago
- concert
- confuzzle
- contexture
- Coopr
- corejet.core
- corejet.pivotal
- corejet.robot
- coursera-dl
- cow-framework
- crawlidator
- cronwrap
- csort
- csvkit
- curate
- curling
- cxmanage
- cyclops
- dalimil
- dargparse
- datafreeze
- dataset
- dateutils
- decanter
- dedupe
- dh_splitpackage
- django-app-tester
- django-boss
- django-easytests
- django-htmlmin
- django-packages-search
- django-publish
- django-webfaction
- djvasa
- dogapi
- dotcloud
- dpaster
- dupfilefind
- dwight
- dwolla-clt
- DynIP
- eadator
- edbob
- eea.eggmonkey
- Eggcelerator
- elfcloud-weasel
- Enqueue
- enstratius_api_tools
- entrypoint
- entrypoint2
- envbuilder
- epio
- erp5.util
- espresso
- eutester
- everjoke
- eyepea-monitoring-agent
- factlog
- factored
- feedstail
- fen
- flashcards
- Flask-Runner
- Flask-Script
- Flask-Script-fix
- Flask-Tools
- futuregrid
- futuregrid_move
- futuregrid_passwdstack
- g-pypi
- g-pypi2
- Gemtools
- genconf
- GeoBases
- GeoBases3K
- GeoBasesDev
- GeoBasesPypy
- geradorfdp
- gist
- gister
- git-crucible
- git-review
- gitctl
- gitflow
- github-collective
- gitomatic
- gmvault
- goobook
- goodruns
- google-drive-cli
- grace
- GraphGit
- grid
- gridtk
- grin
- hammerd
- haufe.sharepoint
- haystack
- hcut
- hevea
- hmda_tools
- hob
- hotwatch
- httpbin
- httpcli
- hyde
- ibmm2gv
- incf.ids-tools
- inferno
- iniget
- ino
- instatrace
- internetarchive
- inupypi
- irccat3
- ISAPIWSGIHelper
- isoenv
- isotoma.depends.zope2_13_8
- jasmine
- jasmine-splinter-runner
- jenkins_tools
- jig
- jira-bulk-loader
- jira-python
- job-runner-worker
- job-runner-ws-server
- journal
- js.jqueryui
- json2xlsx
- jsonpipe
- KiTT
- koality_cli
- konfig
- kptool
- kraftwerk
- kung
- Kuyruk
- langacore.kit.i18n
- launch-control-tool
- lava-tool
- Ldtools
- lingua
- lmsh
- localtunnel
- lodgeitlib
- longtang
- longtroll
- LRSignature
- m2wsgid
- madiolahb
- mafan
- MagicFolder
- mailman
- makesite
- mantrid
- mark
- Markdoc
- markowik
- MarkWiki
- mediagoblin
- mediagoblin-spaetz
- memprof
- meshtool
- metargs
- mo2s3
- moa
- modoboa
- module-launcher
- mongodoc
- mongomem
- monitcall
- mortar_rdb
- motop
- mozpool
- mr.anderson
- mr.awsome
- mr.bob
- mr.developer
- mr.laforge
- mr.sisyphus
- mudpyl
- mydumper
- myip
- mysqlrocket
- NameThatColor
- narwhal
- neorg
- netappConfigMaker
- netgrep
- ngblog
- nimbstor
- nma-python
- node.ext.ldap
- nose2
- notmm
- notossh
- nova_limits
- nsnitro
- nuage
- octogit
- oerpenv
- ofs
- ofxclient
- oh-my-vim
- ooni-probe
- openslides
- opensrscli
- openvas.oaplib
- openvas.omplib
- openxc
- Optimus
- oraide
- orgviz
- osmread
- p01.recipe.cdn
- paludis-tools
- pamixer
- pelican
- phil
- phoreman-agent
- pin
- piped
- pkgme
- plone.app.robotframework
- plow
- podparser
- pojson
- poni
- pop-utils
- postman
- powerglove-dns
- pretenders
- provision
- psidialogs
- PsiTurk
- Pundler
- py-mysql2pgsql
- pyAMI
- pybc
- pybedtools
- pyblue
- pycdep
- pygreen
- Pykaboo
- pykarotz
- Pymk
- PyMos
- PyPhantomJS
- pypi2rpm
- pyramid_controllers
- pyramid_describe
- pyron
- pyscale
- pyserve
- pysfx
- pyshanb
- pysrt
- pystatsd
- python-barbicanclient
- python-cloudservers
- python-coveralls
- python-novaclient
- python-novatools
- python-reddwarfclient
- python-socialtext
- python-space
- python-ukcloudservers
- python_ant_downloader
- pyutil
- PyUtilib
- pyutilib.workflow
- pyvertica
- pyVows
- pywhere
- pywizard
- qingcloud-cli
- r3
- r53
- radikorec
- RBXmppNotification
- receipts
- Reding
- redmine-auth
- release_path
- Relo
- remembeep
- remotecv
- ren
- rename
- replmon
- repoman-client
- rerun
- rest-api-blueprint
- RoboMachine
- rootpy
- rosdistro
- rosinstall_generator
- rtd
- runscope
- s3copy
- s3tup
- sae-python-dev
- salsita-gitflow
- Sanescript
- sauron
- sc2replay-lib
- scatologist
- scc
- scoop
- secure-smtpd
- seesaw
- semetric.apiclient
- sentiment_classifier
- shovel
- sketchduino
- skypipe
- slapos.tool.nosqltester
- slapos.tool.nosqltester_manager
- snaptastic
- Soapbox
- sopex
- spawningtool
- spdyathome
- sphinx-argparse
- spoj
- spring
- ssh-import-id
- starflyer
- Stetl
- steve
- strubby
- stu
- stucco_evolution
- SyslogProcessor
- tacot
- tako
- tarsnapper
- telenor_web2sms
- termine
- terrarium
- testfarm
- testmill
- thirty-cli
- throw
- tiendanube
- Tinkerer
- tmpdir
- tomahawk
- torus
- tox
- transcoptract
- tse
- ttr.aws.utils.s3
- turbolift
- turnstile
- txpkgme
- txRiakIdx
- tyrs
- udacity-dl
- ulif.openoffice
- uvc
- vcard_split
- vecc
- vip
- viron
- VKAppAuth
- vogeler
- wag
- WhooshDoc
- wight-cli
- wiki-xmlrpc-extensions
- wiki2sphinx
- wille
- wishbone
- wp2github
- xadrpy
- xdserver
- xenosimager
- xflash
- YARS
- zbx-statsd
- zenoss-snmp-module
- zerorpc
- zetalibrary
- zfec
- zippydoc
- zmqc
- ZombieAgent
- zopyx.sharepoint
- zums
- zyklop
Lastest release
The argparse module makes it easy to write user friendly command line interfaces.
The program defines what arguments it requires, and argparse will figure out how to parse those out of sys.argv. The argparse module also automatically generates help and usage messages and issues errors when users give the program invalid arguments.
As of Python >= 2.7 and >= 3.2, the argparse module is maintained within the Python standard library. For users who still need to support Python < 2.7 or < 3.2, it is also provided as a separate package, which tries to stay compatible with the module in the standard library, but also supports older Python versions.
argparse is licensed under the Python license, for details see LICENSE.txt.
Compatibility
argparse should work on Python >= 2.3, it was tested on:
- 2.3.5, 2.4.4, 2.5.5, 2.6.5 and 2.7
- 3.1, 3.2
Installation
Try one of these:
python setup.py install
easy_install argparse
pip install argparse
putting argparse.py in some directory listed in sys.path should also work
Bugs
If you find a bug, please try to reproduce it with python 2.7.
If it happens there also, please file a bug in the python.org issue tracker. If it does not happen in 2.7, file a bug in the argparse package issue tracker.