On 15/11/05, Shi Mu <[EMAIL PROTECTED]> 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, [EMAIL PROTECTED], http://www.brunningonline.net/simon/blog/ -- http://mail.python.org/mailman/listinfo/python-list