uTidyLib --I'm lost

David M. Cooke cookedm+news at physics.mcmaster.ca
Mon Aug 4 00:23:59 EDT 2003


At some point, james roush <jar at mminternet.com> wrote:

> I'm tryinh to switch from mx.tidy to uTidyLin and it isn't going well.  
> So far I can't even import TidyLib.  Below is what I get when trying to 
> import into Idle.  I'm using Python 2.1.
>
>>>> from tidylib.lib import parse, parseString
> Traceback (most recent call last):
>   File "<pyshell#2>", line 1, in ?
>     from tidylib.lib import parse, parseString
>   File "K:\Python21\tidylib\lib.py", line 47
>     yield n
>           ^

because yield (and generators) weren't added until python 2.2. (you'll need
to upgrade.)

-- 
|>|\/|<
/--------------------------------------------------------------------------\
|David M. Cooke
|cookedm(at)physics(dot)mcmaster(dot)ca




More information about the Python-list mailing list