[Python-Dev] Module Suggestion: ast

"Martin v. Löwis" martin at v.loewis.de
Tue Apr 29 23:38:50 CEST 2008

> An example module for the NodeVisitor is in the repository which
> converts a Python AST back into Python source code:
>   http://dev.pocoo.org/hg/sandbox/file/tip/ast/codegen.py

And another example for the same functionality is in Demo/parser/unparse.py.


More information about the Python-Dev mailing list