compare list

Simon Brunning simon.brunning at
Tue Nov 15 12:28:30 CET 2005

On 15/11/05, Ben Bush <pythonnew at> wrote:
> an error reported:
> Traceback (most recent call last):
>   File
> "C:\Python23\lib\site-packages\Pythonwin\pywin\framework\",
> line 310, in RunScript
>     exec codeObject in __main__.__dict__
>   File "C:\temp\", line 8, in ?
>     from sets import Set as set
> ImportError: cannot import name Set
> >>>

Works for me. You don't have a sets module of your own, do you? Try
this, and report back what you see:

import sets
print sets.__file__
print dir(sets)

Simon B,
simon at,

More information about the Python-list mailing list