Python logo

موضوع قبلی

The initialization of the sys.path module search path

موضوع بعدی

ast --- Abstract syntax trees

این صفحه

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

ناوبری

  • فهرست
  • ماژول ها |
  • بعدی |
  • قبلی |
  • Python logo
  • Python »
  • 3.16.0a0 Documentation »
  • The Python Standard Library »
  • Python Language Services
  • |
  • |

Python Language Services¶

Python provides a number of modules to assist in working with the Python language. These modules support tokenizing, parsing, syntax analysis, bytecode disassembly, and various other facilities.

These modules include:

  • ast --- Abstract syntax trees
    • Abstract grammar
    • Node classes
      • Root nodes
      • Literals
      • Variables
      • Expressions
        • Subscripting
        • Comprehensions
      • Statements
        • Imports
      • Control flow
      • Pattern matching
      • Type annotations
      • Type parameters
      • Function and class definitions
      • Async and await
    • ast helpers
    • Compiler flags
    • Command-line usage
  • symtable --- Access to the compiler's symbol tables
    • Generating Symbol Tables
    • Examining Symbol Tables
    • Command-Line Usage
  • token --- Constants used with Python parse trees
  • keyword --- Testing for Python keywords
  • tokenize --- Tokenizer for Python source
    • Tokenizing input
    • Command-line usage
    • Examples
  • tabnanny --- Detection of ambiguous indentation
  • pyclbr --- Python module browser support
    • Function Objects
    • Class Objects
  • py_compile --- Compile Python source files
    • Command-Line Interface
  • compileall --- Byte-compile Python libraries
    • Command-line use
    • Public functions
  • dis --- Disassembler for Python bytecode
    • Command-line interface
    • Bytecode analysis
    • Analysis functions
    • Python Bytecode Instructions
    • Opcode collections
  • pickletools --- Tools for pickle developers
    • Command-line usage
      • Command-line options
    • Programmatic interface

موضوع قبلی

The initialization of the sys.path module search path

موضوع بعدی

ast --- Abstract syntax trees

این صفحه

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

ناوبری

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

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

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