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.15.0a0 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 --- 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

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.15.0a0 Documentation »
  • Pustaka Standar Python »
  • Command-line interface libraries
  • |
  • |
© Hak cipta 2001 Python Software Foundation.
Halaman ini dilisensikan di bawah Lisensi Python Software Foundation Versi 2.
Contoh, resep, dan kode lainnya dalam dokumentasi juga dilisensikan di bawah Lisensi Zero Clause BSD.
Lihat Sejarah dan Lisensi untuk informasi lebih lanjut.

Python Software Foundation adalah sebuah korporasi nirlaba. Mari berdonasi.

Terakhir diperbarui pada Sep 28, 2025 (04:45 UTC). Menemukan kekutu?
Dibuat menggunakan Sphinx 8.2.3.