On Dec 5, 6:02 pm, "Ryan Krauss" <[EMAIL PROTECTED]> wrote:
> I need to parse a Python file by breaking it into blocks matching
> indentation levels so that function definitions, for loops, and
> classes are kept together as blocks. For example, if I have something
> like
>
> from scipy import*
>
En Wed, 05 Dec 2007 14:02:35 -0300, Ryan Krauss <[EMAIL PROTECTED]>
escribió:
> I need to parse a Python file by breaking it into blocks matching
> indentation levels so that function definitions, for loops, and
> classes are kept together as blocks. [...]
>
> I think the parser module should e