On 15/11/05, Ben Bush <[EMAIL PROTECTED]> wrote:
> an error reported:
> Traceback (most recent call last):
>   File
> "C:\Python23\lib\site-packages\Pythonwin\pywin\framework\scriptutils.py",
> line 310, in RunScript
>     exec codeObject in __main__.__dict__
>   File "C:\temp\try.py", 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)

--
Cheers,
Simon B,
[EMAIL PROTECTED],
http://www.brunningonline.net/simon/blog/
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to