uTidyLib --I'm lost
james roush
jar at mminternet.com
Thu Aug 7 22:06:56 EDT 2003
In article <qnkadaqt5i8.fsf at arbutus.physics.mcmaster.ca>,
cookedm+news at physics.mcmaster.ca says...
> 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.)
>
>
So I've been told. i'm beginning to think I'm the only one that
didn't know this. I upgraded to 2.3 and things are much better now.
--
-----------------------
James A Roush
jar @ mminternet.com
-----------------------
More information about the Python-list
mailing list