Python Code Introspection and Analysis

Posted by oneself on Stack Overflow See other posts from Stack Overflow or by oneself
Published on 2010-06-06T17:41:31Z Indexed on 2010/06/06 17:52 UTC
Read the original article Hit count: 488

Hi,

I am trying to write a Python code analyzer, and I am trying to avoid having to parse bare Python text files. I was hoping that once the Python compiler/interpreter parses the code there's a way to get to the object code or parse tree from within a running Python program.

Is there anyway to do this?

Thank you

© Stack Overflow or respective owner

Related posts about python

Related posts about compiler