Remove duplicates in a sequence?

Daniel T. danielt3 at gte.net
Fri Feb 11 03:45:38 CET 2000


I have a sequence that contains strings, and I want to remove any
duplicates. I know how to write a function to do it, but I was wondering
if there was already one in the language or a library that does it.

I've looked in the docs for "unique" and "remove" but no luck... Can
anyone help me?

-- 
When a thing ceases to be a subject of controversy,
it ceases to be a subject of interest.
                                                   -- William Hazlitt



More information about the Python-list mailing list