Abstract Syntax Trees

holger krekel pyth at devel.trillke.net
Wed Sep 11 07:21:10 EDT 2002

Andrew Wilkinson wrote:
> Hi,
> I'm having a lot of trouble trying to get the parser and compiler modules to
> properly parse some files.
> At the moment the trouble seems to be with any loop construct (i.e. for or
> while).
> If you create a test file like this...
> ---
> for i in range(10):
>     print i
> ---

make sure that this file has a newline at the end. 

others would say, get a better OS :-)



More information about the Python-list mailing list