Python logo

Topik sebelumnya

ctypes --- A foreign function library for Python

Topik berikutnya

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

This page

  • Report a bug
  • Show source

Navigasi

  • index
  • modul |
  • berikut |
  • sebelum |
  • Python logo
  • Python »
  • 3.13.7 Documentation »
  • Pustaka Standar Python »
  • 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 --- Віджет введення тексту для програм curses
  • curses.ascii --- Utilities for ASCII characters
  • curses.panel --- A panel stack extension for curses
  • cmd --- Support for line-oriented command interpreters

Topik sebelumnya

ctypes --- A foreign function library for Python

Topik berikutnya

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

This page

  • Report a bug
  • Show source
«

Navigasi

  • index
  • modul |
  • berikut |
  • sebelum |
  • Python logo
  • Python »
  • 3.13.7 Documentation »
  • Pustaka Standar Python »
  • Command-line interface libraries
  • |
  • |
© Hak Cipta 2001-2025, Python Software Foundation.
This page is licensed under the Python Software Foundation License Version 2.
Examples, recipes, and other code in the documentation are additionally licensed under the Zero Clause BSD License.
See History and License for more information.

The Python Software Foundation is a non-profit corporation. Please donate.

Terakhir diperbarui pada Sep 06, 2025 (08:06 UTC). Found a bug?
Created using Sphinx 8.2.3.