Python logo

上個主題

ctypes --- A foreign function library for Python

下個主題

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

This page

  • Report a bug
  • Show source

瀏覽

  • 索引
  • 模組 |
  • 下一頁 |
  • 上一頁 |
  • Python logo
  • Python »
  • 3.13.6 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

上個主題

ctypes --- A foreign function library for Python

下個主題

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

This page

  • Report a bug
  • Show source
«

瀏覽

  • 索引
  • 模組 |
  • 下一頁 |
  • 上一頁 |
  • Python logo
  • Python »
  • 3.13.6 Documentation »
  • The Python Standard Library »
  • Command Line Interface Libraries
  • |
  • |
© 版權所有 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.

最後更新於 8月 10, 2025 (17:01 UTC)。 Found a bug?
使用 Sphinx 8.2.3 建立。