Sidnei da Silva <sidnei@x3ng.com.br> writes: > seen = {} > unique = [] > for r in result: > if not seen.has_key(r.data_record_id_): > seen[r.data_record_id_] = r.data_record_id_ > unique.append(r) > > return unique > > It works OK. Thanx everyone. You may reduce this to one dictionary :) Regards, Frank