previous next Up Title Contents Index

List handling


You need a list of the unique elements of the list

def unique(thelist):
uniquedict = {}
for i in thelist:
uniquedict[i] = 0
return uniquedict.keys()


previous next Up Title Contents Index

Version : 1.65 Mise à jour : 11/11/00