Python Code Introspection and Analysis
- by oneself
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