> 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. Regards, Martin