Ast tree and python code

Yermat loic at
Wed Mar 3 21:11:12 CET 2004


Does someone know how I can reverse an AST tree back into python code 
with few modification ?
What I want to do is to complete trees before writing them back but in a 
way not to far from the original code ? Especially, indentation, line 
return, etc.

Of course, I could program it myself but if someone already done it...


More information about the Python-list mailing list