Python logo

Topik sebelumnya

The initialization of the sys.path module search path

Topik berikutnya

ast --- Abstract syntax trees

This page

  • Report a bug
  • Show source

Navigasi

  • index
  • modul |
  • berikut |
  • sebelum |
  • Python logo
  • Python »
  • 3.15.0a0 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
      • 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
    • Contoh-contoh
  • tabnanny --- Detection of ambiguous indentation
  • 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
    • 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

Topik sebelumnya

The initialization of the sys.path module search path

Topik berikutnya

ast --- Abstract syntax trees

This page

  • Report a bug
  • Show source
«

Navigasi

  • index
  • modul |
  • berikut |
  • sebelum |
  • Python logo
  • Python »
  • 3.15.0a0 Documentation »
  • Pustaka Standar Python »
  • Layanan Bahasa Python
  • |
  • |
© Hak cipta 2001 Python Software Foundation.
Halaman ini dilisensikan di bawah Lisensi Python Software Foundation Versi 2.
Contoh, resep, dan kode lainnya dalam dokumentasi juga dilisensikan di bawah Lisensi Zero Clause BSD.
Lihat Sejarah dan Lisensi untuk informasi lebih lanjut.

Python Software Foundation adalah sebuah korporasi nirlaba. Mari berdonasi.

Terakhir diperbarui pada Sep 28, 2025 (04:45 UTC). Menemukan kekutu?
Dibuat menggunakan Sphinx 8.2.3.