René's URL Explorer Experiment


Title: Migrating optparse code to argparse — Python 3.15.0a5 documentation

Open Graph Title: Migrating optparse code to argparse

Description: The argparse module offers several higher level features not natively provided by the optparse module, including: Handling positional arguments., Supporting subcommands., Allowing alternative optio...

Open Graph Description: The argparse module offers several higher level features not natively provided by the optparse module, including: Handling positional arguments., Supporting subcommands., Allowing alternative optio...

Opengraph URL: https://docs.python.org/3/howto/argparse-optparse.html

direct link

Domain: docs.python.org

og:typewebsite
og:site_namePython documentation
og:image:width1146
og:image:height600
og:imagehttps://docs.python.org/3.15/_images/social_previews/summary_howto_argparse-optparse_15304fde.png
og:image:altThe argparse module offers several higher level features not natively provided by the optparse module, including: Handling positional arguments., Supporting subcommands., Allowing alternative optio...
twitter:cardsummary_large_image
theme-color#3776ab
readthedocs-addons-api-version1

Links:

https://www.python.org/
Argparse Tutorialhttps://docs.python.org/dev/howto/argparse.html
optparse — Parser for command line optionshttps://docs.python.org/dev/library/optparse.html
Report a bughttps://docs.python.org/dev/bugs.html
Show source https://github.com/python/cpython/blob/main/Doc/howto/argparse-optparse.rst?plain=1
indexhttps://docs.python.org/dev/genindex.html
moduleshttps://docs.python.org/dev/py-modindex.html
nexthttps://docs.python.org/dev/library/optparse.html
previoushttps://docs.python.org/dev/howto/argparse.html
Pythonhttps://www.python.org/
3.15.0a5 Documentationhttps://docs.python.org/dev/index.html
The Python Standard Libraryhttps://docs.python.org/dev/library/index.html
Command-line interface librarieshttps://docs.python.org/dev/library/cmdlinelibs.html
argparse — Parser for command-line options, arguments and subcommandshttps://docs.python.org/dev/library/argparse.html
Migrating optparse code to argparsehttps://docs.python.org/dev/howto/argparse-optparse.html
https://docs.python.org/dev/howto/argparse-optparse.html#migrating-optparse-code-to-argparse
argparsehttps://docs.python.org/dev/library/argparse.html#module-argparse
optparsehttps://docs.python.org/dev/library/optparse.html#module-optparse
argparsehttps://docs.python.org/dev/library/argparse.html#module-argparse
optparsehttps://docs.python.org/dev/library/optparse.html#module-optparse
Choosing an argument parsing libraryhttps://docs.python.org/dev/library/optparse.html#choosing-an-argument-parser
optparsehttps://docs.python.org/dev/library/optparse.html#module-optparse
optparsehttps://docs.python.org/dev/library/optparse.html#module-optparse
argparsehttps://docs.python.org/dev/library/argparse.html#module-argparse
optparse.OptionParser.add_option()https://docs.python.org/dev/library/optparse.html#optparse.OptionParser.add_option
ArgumentParser.add_argument()https://docs.python.org/dev/library/argparse.html#argparse.ArgumentParser.add_argument
ArgumentParser.add_argument()https://docs.python.org/dev/library/argparse.html#argparse.ArgumentParser.add_argument
argparsehttps://docs.python.org/dev/library/argparse.html#module-argparse
optparse.OptionParser.disable_interspersed_args()https://docs.python.org/dev/library/optparse.html#optparse.OptionParser.disable_interspersed_args
parse_intermixed_args()https://docs.python.org/dev/library/argparse.html#argparse.ArgumentParser.parse_intermixed_args
parse_args()https://docs.python.org/dev/library/argparse.html#argparse.ArgumentParser.parse_args
optparse.Valueshttps://docs.python.org/dev/library/optparse.html#optparse.Values
Namespacehttps://docs.python.org/dev/library/argparse.html#argparse.Namespace
optparse.OptionErrorhttps://docs.python.org/dev/library/optparse.html#optparse.OptionError
optparse.OptionValueErrorhttps://docs.python.org/dev/library/optparse.html#optparse.OptionValueError
ArgumentErrorhttps://docs.python.org/dev/library/argparse.html#argparse.ArgumentError
Argparse Tutorialhttps://docs.python.org/dev/howto/argparse.html
optparse — Parser for command line optionshttps://docs.python.org/dev/library/optparse.html
Report a bughttps://docs.python.org/dev/bugs.html
Show source https://github.com/python/cpython/blob/main/Doc/howto/argparse-optparse.rst?plain=1
indexhttps://docs.python.org/dev/genindex.html
moduleshttps://docs.python.org/dev/py-modindex.html
nexthttps://docs.python.org/dev/library/optparse.html
previoushttps://docs.python.org/dev/howto/argparse.html
Pythonhttps://www.python.org/
3.15.0a5 Documentationhttps://docs.python.org/dev/index.html
The Python Standard Libraryhttps://docs.python.org/dev/library/index.html
Command-line interface librarieshttps://docs.python.org/dev/library/cmdlinelibs.html
argparse — Parser for command-line options, arguments and subcommandshttps://docs.python.org/dev/library/argparse.html
Migrating optparse code to argparsehttps://docs.python.org/dev/howto/argparse-optparse.html
Copyrighthttps://docs.python.org/dev/copyright.html
History and Licensehttps://docs.python.org/license.html
Please donate.https://www.python.org/psf/donations/
Found a bughttps://docs.python.org/bugs.html
Sphinxhttps://www.sphinx-doc.org/

Viewport: width=device-width, initial-scale=1.0


URLs of crawlers that visited me.