Python logo

Föregående titel

ctypes — A foreign function library for Python

Nästa titel

argparse — Parser for command-line options, arguments and subcommands

Denna sidan

  • Rapportera ett fel
  • Visa källa

Navigering

  • index
  • moduler |
  • nästa |
  • föregående |
  • Python logo
  • Python »
  • 3.14.0 Documentation »
  • The Python Standard Library »
  • Command-line interface libraries
  • |
  • |

Command-line interface libraries¶

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, arguments and subcommands
  • optparse — Parser for command line options
  • getpass — Portable password input
  • fileinput — Iterate over lines from multiple input streams
  • curses — Terminal handling for character-cell displays
  • curses.textpad — Text input widget for curses programs
  • curses.ascii — Utilities for ASCII characters
  • curses.panel — A panel stack extension for curses
  • cmd — Support for line-oriented command interpreters

Föregående titel

ctypes — A foreign function library for Python

Nästa titel

argparse — Parser for command-line options, arguments and subcommands

Denna sidan

  • Rapportera ett fel
  • Visa källa
«

Navigering

  • index
  • moduler |
  • nästa |
  • föregående |
  • Python logo
  • Python »
  • 3.14.0 Documentation »
  • The Python Standard Library »
  • Command-line interface libraries
  • |
  • |
© Upphovsrätt 2001 Python Software Foundation.
Denna sida är licensierad enligt Python Software Foundation License version 2.
Exempel, recept och annan kod i dokumentationen är dessutom licensierade under Zero Clause BSD-licensen.
Se Historik och licens för mer information.

Python Software Foundation är ett icke-vinstdrivande företag. Donera.

Senast uppdaterad nov. 22, 2025 (06:59 UTC). Har du hittat ett fel?
Skapad med hjälp av Sphinx 8.2.3.