Better way of getting parsed Python rather than an AST?

Kenneth McDonald kenneth.m.mcdonald at
Sun Oct 10 03:09:45 CEST 2004

Can anyone recommend something which will do one of the

   1) Parse a Python file into an "object-oriented" syntax
      tree of some sort (eg. with function definitions represented
      by a "FunDef" class, etc.)


   2) Take an AST as produced by the Python AST module, and
      convert it into a "friendlier" form. Unless I'm missing something,
      the builtin AST representation seems somewhat, um, low-level.

I try to check the newsgroup regularly, but email as well as
a posting response would be greatly appreciated.

Ken McDonald
kenneth.m.mcdonald at

More information about the Python-list mailing list