compare list
Simon Brunning
simon.brunning at gmail.com
Tue Nov 15 06:05:49 EST 2005
On 15/11/05, Shi Mu <samrobertsmith at gmail.com> wrote:
> Yes, i am using python 2.3,
> I have used from sets import *
> but still report the same error:
> > > Traceback (most recent call last):
> > > File "<interactive input>", line 1, in ?
> > > NameError: name 'set' is not defined
I said analogous, not identical. try (untested):
from sets import Set as set
--
Cheers,
Simon B,
simon at brunningonline.net,
http://www.brunningonline.net/simon/blog/
More information about the Python-list
mailing list