Monday, July 30, 2007

py2dot

I've been getting a bunch of emails asking about the status of some of my old projects . The bad news is a lot of them were lost in a catastrophic server failure a while back, but I've managed to dig up a few of them. A lot of people asked for the py2dot script, which reads takes Python source code as input and outputs a .dot file (openable with GraphViz) that shows a graphical representation of the input AST.

Anyways, here it is: py2dot.py