How do you remove duplicates from a list?

See the Python Cookbook for a long discussion of many ways to do this:

http://aspn.a