Python tutorials with source code, examples, guides, and tips and tricks for Windows and Linux development.
>>> my_list = [1,2,3,22,33,11,33,'a','b','c','a'] >>> my_list = list(set(my_list)) >>> print my_list ['a', 1, 2, 3, 33, 11, 'c', 'b', 22]