Python poly obsolete?

T

Thierry Lam

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?

Thanks
Thierry
 
G

Georg Brandl

Thierry said:
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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,291
Messages
2,571,455
Members
48,132
Latest member
KatlynC08

Latest Threads

Top