Python logo

Chủ đề trước

ctypes --- A foreign function library for Python

Chủ đề tiếp

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

This page

  • Report a bug
  • Improve this page
  • Show source
  • Show translation source

Điều hướng

  • chỉ mục
  • các mô-đun |
  • xem tiếp |
  • xem lại |
  • Python logo
  • Python »
  • 3.15.0rc3 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

Chủ đề trước

ctypes --- A foreign function library for Python

Chủ đề tiếp

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

This page

  • Report a bug
  • Improve this page
  • Show source
  • Show translation source
«

Điều hướng

  • chỉ mục
  • các mô-đun |
  • xem tiếp |
  • xem lại |
  • Python logo
  • Python »
  • 3.15.0rc3 Documentation »
  • The Python standard library »
  • Command-line interface libraries
  • |
  • |
© Bản quyền 2001 Python Software Foundation.
Trang này được cấp phép theo Giấy phép của Tổ chức Phần mềm Python Phiên bản 2.
Các ví dụ, hướng dẫn và mã nguồn khác trong tài liệu này còn được cấp phép bổ sung theo Giấy phép BSD Không Điều khoản.
Xem Lịch sử và Giấy phép để biết thêm thông tin.

Python Software Foundation là một tổ chức phi lợi nhuận. Vui lòng quyên góp.

Cập nhật lần cuối vào thg 10 04, 2026 (03:53 UTC). Tìm thấy lỗi?
Được tạo bằng Sphinx 8.2.3.