compiler module

Simon Burton simonb at webone.com.au
Mon Mar 17 02:43:51 CET 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