Turning an AST node / subnodes into something human-readable
rosuav at gmail.com
Wed Feb 19 16:35:42 CET 2014
On Thu, Feb 20, 2014 at 2:04 AM, Mark Lawrence <breamoreboy at yahoo.co.uk> wrote:
>> but what I'd really like to do is get something that looks
>> approximately like "x".
> http://alexleone.blogspot.co.uk/2010/01/python-ast-pretty-printer.html ?
That's still based on ast.dump(), so it's still highly verbose. I've
stuck with just dumping to screen for the present. This really does
seem like a useful feature addition, though, if anyone wants to push
More information about the Python-list