Dokumen ini untuk versi lama Python yang tidak didukung lagi. Anda harus memutakhirkan, dan membaca Dokumentasi Python untuk rilis stabil saat ini.

Navigasi

  • index
  • modul |
  • berikut |
  • sebelum |
  • Python »
  • 3.7.17 Documentation »
  • Pustaka Standar 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:

  • parser --- Access Python parse trees
    • Creating ST Objects
    • Converting ST Objects
    • Queries on ST Objects
    • Exceptions and Error Handling
    • ST Objects
    • Example: Emulation of compile()
  • ast --- Abstract Syntax Trees
    • Node classes
    • Abstract Grammar
    • ast Helpers
  • symtable --- Access to the compiler's symbol tables
    • Generating Symbol Tables
    • Examining Symbol Tables
  • symbol --- Constants used with Python parse trees
  • 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
  • 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

importlib --- The implementation of import

Topik berikutnya

parser --- Access Python parse trees

Halaman Ini

  • Laporkan Bug
  • Lihat Sumber

Navigasi

  • index
  • modul |
  • berikut |
  • sebelum |
  • Python »
  • 3.7.17 Documentation »
  • Pustaka Standar Python »
  • |
© Hak Cipta 2001-2023, Python Software Foundation.
The Python Software Foundation is a non-profit corporation. Please donate.
Terakhir diperbarui pada Jun 28, 2023. Found a bug?
Created using Sphinx 2.3.1.