Navigation

  • index
  • modules |
  • next |
  • previous |
  • Editorial Documentation »
  • The Python Standard Library »

28. 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:

  • 28.1. parser — Access Python parse trees
    • 28.1.1. Creating ST Objects
    • 28.1.2. Converting ST Objects
    • 28.1.3. Queries on ST Objects
    • 28.1.4. Exceptions and Error Handling
    • 28.1.5. ST Objects
    • 28.1.6. Example: Emulation of compile()
  • 28.2. ast — Abstract Syntax Trees
    • 28.2.1. Node classes
    • 28.2.2. Abstract Grammar
    • 28.2.3. ast Helpers
  • 28.3. symtable — Access to the compiler’s symbol tables
    • 28.3.1. Generating Symbol Tables
    • 28.3.2. Examining Symbol Tables
  • 28.4. symbol — Constants used with Python parse trees
  • 28.5. token — Constants used with Python parse trees
  • 28.6. keyword — Testing for Python keywords
  • 28.7. tokenize — Tokenizer for Python source
  • 28.8. tabnanny — Detection of ambiguous indentation
  • 28.9. pyclbr — Python class browser support
    • 28.9.1. Class Objects
    • 28.9.2. Function Objects
  • 28.10. py_compile — Compile Python source files
  • 28.11. compileall — Byte-compile Python libraries
    • 28.11.1. Command-line use
    • 28.11.2. Public functions
  • 28.12. dis — Disassembler for Python bytecode
    • 28.12.1. Python Bytecode Instructions
  • 28.13. pickletools — Tools for pickle developers
© Copyright 1990-2015, Python Software Foundation.
The Python Software Foundation is a non-profit corporation. Please donate.
Last updated on May 28, 2015. Found a bug?
Created using Sphinx 1.0.7.