If you don't need to retain order you can just use a set, set([1, 1, 2, 3, 4]) = set([1, 2, 3, 4])
But set's don't retain order. On Sunday, September 9, 2012 at 1:43 AM, Token Type wrote: > Is there a unique method in python to unique a list? thanks > -- > http://mail.python.org/mailman/listinfo/python-list > >
-- http://mail.python.org/mailman/listinfo/python-list