On Sun, Dec 13, 2009 at 2:10 PM, Carsten Haese <carsten.ha...@gmail.com> wrote: >>>> from sets import Set >>>> aSet = Set(['Small', 'Extra-small', 'Medium'])
You don't need to import "Set" since it is built in now: >>> a=set([1,2,2,3,4,5]) >>> a set([1, 2, 3, 4, 5]) (I have Python 2.6.2 but I think that this is available from 2.4 or 2.5). -- http://mail.python.org/mailman/listinfo/python-list