About 39,100 results
Open links in new tab
  1. argparse — Parser for command-line options, arguments and

    2 days ago · The module will also issue errors when users give the program invalid arguments. The argparse module’s support for command-line interfaces is built around an instance of …

  2. Argparse Tutorial — Python 3.14.2 documentation

    2 days ago · author, Tshepang Mbambo,. This tutorial is intended to be a gentle introduction to argparse, the recommended command-line parsing module in the Python standard library. …

  3. Migrating optparse code to argparse — Python 3.14.2 …

    4 days ago · For applications that do choose to migrate from optparse to argparse, the following suggestions should be helpful: Replace all optparse.OptionParser.add_option() calls with …

  4. 15.4. argparse --- コマンドラインオプション、引数、サブコマン …

    argparse モジュールはユーザーフレンドリーなコマンドラインインタフェースの作成を簡単にします。 プログラムがどんな引数を必要としているのかを定義すると、 argparse が sys.argv …

  5. Command-line interface libraries — Python 3.14.2 documentation

    3 days ago · The modules described in this chapter assist with implementing command line and terminal interfaces for applications. Here’s an overview: argparse — Parser for command-line …

  6. Pending removal in future versions — Python 3.14.2 documentation

    2 days ago · The following APIs will be removed in the future, although there is currently no date scheduled for their removal. argparse:- Nesting argument groups and nesting mutually …

  7. optparse — Parser for command line options - Python

    2 days ago · In the absence of more specific argument parsing design constraints, argparse is the recommended choice for implementing command line applications, as it offers the highest …

  8. getopt — C-style parser for command line options - Python

    2 days ago · Further functional enhancements for command line parameter processing are provided either as third party modules on PyPI, or else as features in the argparse module.

  9. Parsing arguments and building values — Python 3.14.2 …

    2 days ago · Parsing arguments and building values ¶ These functions are useful when creating your own extension functions and methods. Additional information and examples are available …

  10. cmd — Support for line-oriented command interpreters

    2 days ago · The Cmd class provides a simple framework for writing line-oriented command interpreters. These are often useful for test harnesses, administrative tools, and prototypes …