Kent Johnson wrote: > This is a popular question. It comes up frequently on comp.lang.python > and there are many recipes in the online cookbook.
Here is a good starting point if you want to see a variety of ways to uniquify (?) sequences: http://tinyurl.com/3cqnj5 Make sure you look at the referenced recipe and the recipes it references... Like I said, this is a popular problem :-) Kent _______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor