since python 2.6

>>> set([1, 2, 3,])

you dont need the import