compiler module

Simon Burton simonb at webone.com.au
Sun Mar 16 20:43:51 EST 2003


Am working on some code that reads python source to
find/manipulate the "block structure" for a GUI/IDE display.

"Block structure" almost equals indentation level, but not quite.
So, am using the compiler module to find the blocks (class, def, if,
for...?)

Does anyone have related code i could take a look at? 
I already know about pychecker; am searching for more
code that uses the compiler module. Have also looked at cookbook
and useless (nothing there).

thanks muchly,
Simon Burton.







More information about the Python-list mailing list