Navigation

  • алфавитный указатель
  • модули |
  • следущий
  • предыдущий
  • Python »
  • 3.6.0a3 Documentation »
  • The Python Standard Library »

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:

  • 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 — 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 class browser support
    • Class Objects
    • Function 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

Previous topic

importlib – The implementation of import

Next topic

parser — Access Python parse trees

This Page

  • Сообщить об ошибке
  • Показать исходный текст

Быстрый поиск

Навигация

  • алфавитный указатель
  • модули |
  • следущий
  • предыдущий
  • Python »
  • 3.6.0a3 Documentation »
  • The Python Standard Library »
© Copyright 2001-2016, Python Software Foundation.
The Python Software Foundation is a non-profit corporation. Please donate.
Last updated on Jul 28, 2016. Found a bug?
Created using Sphinx 1.5a0.