I'm trying to learn python and I was trying to write something simple. I am developing under Pydev (Eclipse) using OS X 10.8. I installed python 3.2 using the 64bits .dmg installer.
I configured the Python interpreter successfully (or I think so, as I actually can create a "hello world" project and run it). But for some reason, when I try to import Set (
from sets import Set
from sets import Set;
ImportError: No module named sets
You don't need the
sets module anymore.
set is a built-in class in Python 3 and can be used without import.
mySet = set()