Python logo

Topik sebelumnya

Using importlib.metadata

Topik berikutnya

ast --- Abstract Syntax Trees

Halaman Ini

  • Laporkan Bug
  • Perlihatkan Sumber

Navigasi

  • index
  • modul |
  • berikut |
  • sebelum |
  • Python logo
  • Python »
  • 3.10.16 Documentation »
  • Pustaka Standar Python »
  • Layanan Bahasa Python
  • |
  • |

Layanan Bahasa PythonΒΆ

Python menyediakan sejumlah modul untuk membantu bekerja dengan bahasa Python. Modul-modul ini mendukung tokenizing, parsing, analisis sintaks, bytecode disassembly, dan berbagai fasilitas lainnya.

Modul-modul ini termasuk:

  • ast --- Abstract Syntax Trees
    • Abstract Grammar
    • Node classes
      • Literals
      • Variables
      • Expressions
        • Subscripting
        • Comprehensions
      • Statements
        • Imports
      • Control flow
      • Pattern matching
      • 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
  • token --- Konstanta digunakan dengan pohon pengurai (parse tree) Python
  • keyword --- Pengujian untuk kata kunci Python
  • tokenize --- Tokenizer for Python source
    • Tokenizing Input
    • Command-Line Usage
    • Contoh-contoh
  • mod:tabnanny --- Deteksi indentasi ambigu
  • pyclbr --- Python module browser support
    • Obyek Fungsi
    • Objek Kelas 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
    • Bytecode analysis
    • Analysis functions
    • Python Bytecode Instructions
    • Opcode collections
  • pickletools --- Tools for pickle developers
    • Command line usage
      • Command line options
    • Programmatic Interface

Topik sebelumnya

Using importlib.metadata

Topik berikutnya

ast --- Abstract Syntax Trees

Halaman Ini

  • Laporkan Bug
  • Perlihatkan Sumber

Navigasi

  • index
  • modul |
  • berikut |
  • sebelum |
  • Python logo
  • Python »
  • 3.10.16 Documentation »
  • Pustaka Standar Python »
  • Layanan Bahasa Python
  • |
  • |
© Hak Cipta 2001-2024, 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.

Terakhir diperbarui pada Des 07, 2024. Found a bug?
Created using Sphinx 3.4.3.