Python logo

上個話題

ctypes --- A foreign function library for Python

下個話題

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

This page

  • 回報臭蟲
  • 顯示來源碼

導航

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

  • 回報臭蟲
  • 顯示來源碼
«

導航

  • 索引
  • 模組 |
  • 下一頁 |
  • 上一頁 |
  • Python logo
  • Python »
  • 3.13.7 Documentation »
  • The Python Standard Library »
  • Command Line Interface Libraries
  • |
  • |
© 版權所有 2001-2025, Python Software Foundation.
此頁面採用 Python 軟體基金會授權條款第 2 版。
文件中的範例、應用技巧與其他程式碼額外採用了 Zero Clause BSD 授權條款。
更多訊息請見歷史與授權條款。

Python 軟體基金會是一家非營利法人。 敬請捐贈。

最後更新於 10月 08, 2025 (08:21 UTC)。 發現 bug?
以 Sphinx8.2.3建立。