GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • 17.1.6.1 Emulation of compile()
  • 17.1.6.2 Information Discovery

This view

  • Original page
  • New address

GeezerVison is showing docs.python.org — 17.1.6 Examples

Previous Page Up One Level Next Page Python Library Reference Contents Module Index Index
Previous: 17.1.5 AST Objects Up: 17.1 parser Next: 17.1.6.1 Emulation of compile()


17.1.6 Examples

The parser modules allows operations to be performed on the parse tree of Python source code before the bytecode is generated, and provides for inspection of the parse tree for information gathering purposes. Two examples are presented. The simple example demonstrates emulation of the compile() built-in function and the complex example shows the use of a parse tree for information discovery.


Subsections
  • 17.1.6.1 Emulation of compile()
  • 17.1.6.2 Information Discovery


Previous Page Up One Level Next Page Python Library Reference Contents Module Index Index
Previous: 17.1.5 AST Objects Up: 17.1 parser Next: 17.1.6.1 Emulation of compile()

See About this document... for information on suggesting changes.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.