Array delete

Andreas Lysdal andelys at riddergarn.dk
Sun Jan 28 19:04:25 CET 2007


Hey,

Can someone plz make a function for that takes a array, and then search
in it for duplicates, if it finds 2 or more items thats the same string
then delete all except 1.

Short: it deletes all duplicates in a array

thanks

-- 
   _________            .__        __                  ______________
  /   _____/ ___________|__|______/  |_  ___________  /  |  \______  \
  \_____  \_/ ___\_  __ \  \____ \   __\/ __ \_  __ \/   |  |_  /    /
  /        \  \___|  | \/  |  |_> >  | \  ___/|  | \/    ^   / /    /
/_______  /\___  >__|  |__|   __/|__|  \___  >__|  \____   | /____/
         \/     \/         |__|             \/           |__|




More information about the Python-list mailing list