Python logo

موضوع قبلی

ctypes --- A foreign function library for Python

موضوع بعدی

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

این صفحه

  • گزارش یک اشکال
  • بهبود این صفحه
  • نمایش منبع
  • نمایش منبع ترجمه
این یک پیش‌نمایش مستقرشده است که از یک درخواست ادغام ایجاد شده است. برای مشاهده‌ی مستندات معتبر، به نسخه‌ی پایدار فعلی.

ناوبری

  • فهرست
  • ماژول ها |
  • بعدی |
  • قبلی |
  • Python logo
  • Python »
  • 3.16.0a0 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

موضوع قبلی

ctypes --- A foreign function library for Python

موضوع بعدی

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

این صفحه

  • گزارش یک اشکال
  • بهبود این صفحه
  • نمایش منبع
  • نمایش منبع ترجمه
«

ناوبری

  • فهرست
  • ماژول ها |
  • بعدی |
  • قبلی |
  • Python logo
  • Python »
  • 3.16.0a0 Documentation »
  • The Python Standard Library »
  • Command-line interface libraries
  • |
  • |
© حق نشر 2001 Python Software Foundation.
این صفحه تحت مجوز بنیاد نرم‌افزار پایتون نسخه ۲ منتشر شده است.
مثال‌ها، دستورالعمل‌ها، و سایر کدهای موجود در مستندات همچنین تحت مجوز بدون بند BSD منتشر شده‌اند.
برای اطلاعات بیشتر به تاریخچه و مجوز مراجعه کنید.
میزبانی شده روی Read the Docs.

بنیاد نرم‌افزار پایتون یک شرکت غیرانتفاعی است. لطفاً کمک مالی کنید.

آخرین به‌روزرسانی در اوت 20, 2026 (11:54 UTC). آیا اشکالی یافتید؟
ساخته شده با Sphinx 8.2.3.