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

    3 days ago · 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 …

  2. Argparse Tutorial — Python 3.14.2 documentation

    2 days ago · The argparse module allows you to specify custom type converters for your command-line arguments. This allows you to modify user input before it’s stored in the argparse.Namespace.

  3. 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 options, …

  4. Migrating optparse code to argparse — Python 3.14.2 documentation

    5 days ago · The argparse module offers several higher level features not natively provided by the optparse module, including: Handling positional arguments., Supporting subcommands., Allowing …

  5. What’s New In Python 3.13 — Python 3.15.0a2 documentation

    2 days ago · The argparse module now supports deprecating command-line options, positional arguments, and subcommands. The new functions base64.z85encode() and base64.z85decode() …

  6. Python Documentation contents — Python 3.15.0a2 documentation

    Why does Python use methods for some functionality (e.g. list.index ()) but functions for other (e.g. len (list))? Why is join () a string method instead of a list or tuple method?

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

    3 days ago · This module helps scripts to parse the command line arguments in sys.argv. It supports the same conventions as the Unix getopt() function (including the special meanings of arguments of the …

  8. The Python Standard Library — Python 3.15.0a2 documentation

    2 days ago · The library contains built-in modules (written in C) that provide access to system functionality such as file I/O that would otherwise be inaccessible to Python programmers, as well as …

  9. 10. Brief Tour of the Standard Library — Python 3.14.2 documentation

    Nov 11, 2025 · The argparse module provides a more sophisticated mechanism to process command line arguments. The following script extracts one or more filenames and an optional number of lines …

  10. What’s New in Python 2.7 — Python 3.14.1 documentation

    There are some useful additions to the standard library, such as a greatly enhanced unittest module, the argparse module for parsing command-line options, convenient OrderedDict and Counter classes in …