Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(1)  |  Call(0)  |  Derive(0)  |  Import(1)
Module to play with Abstract Syntax Tree (AST) of Python scripts.

For example, you can get version information and other distutils
metadata without importing anything::

  $ astdump.py --topvars astdump.py

src/a/s/astdump-3.3/dataset/update.py   astdump(Download)
sys.path.insert(0, os.path.dirname(ROOT))
import astdump
PY3K = sys.version_info >= (3, 0)