Filtering a Python list to uniques

bearophileHUGS at bearophileHUGS at
Wed Mar 26 00:38:39 CET 2008

Kelly Greer:
> What is the best way to filter a Python list to its unique members?

If Python is "batteries included", then an industrial-strength
unique() seems one of the most requested 'batteries' that's not
included :-) I feel that it's coming in Python 2.6/3.x. In the


More information about the Python-list mailing list