Follow @
OH
P
For me, PLY is the best Python parser/lexer library out there. I'm using it for pycparser and other tasks, and am very happy with it.