how to remove multiple occurrences of a string within a list?

Goldfish gregturn at mindspring.com
Wed Apr 4 18:56:42 CEST 2007


I don't think I would use sets at all. They change the semantic
meaning of the original list. What if you have duplicate entries that
you want to keep? Converting to a set and back will strip out the
duplicates of that.




More information about the Python-list mailing list