Python poly obsolete?

Georg Brandl g.brandl-nospam at gmx.net
Fri Mar 17 13:43:40 EST 2006


Thierry Lam wrote:
> I have a piece of python code which goes like the following:
> 
> import poly
> 
> list = [1, 2, 3]
> 
> result = poly.scan(list)
> 
> I'm using Python 2.3.4 and I don't think that poly library is working
> properly, I read somewhere that's it's obsolete now. What's the
> alternative?

This module was not useful enough to remain in the standard library.
However, you can find poly.py in /usr/lib/python2.x/lib-old and use
it from there (either adding this directory to sys.path or copying
the file to your working dir).

Georg



More information about the Python-list mailing list