def unique(l):
    new_list = []
    seen = set()
    for el in l:
        if el not in seen:
            new_list.append(el)
            seen.add(el)

    return new_list
Filters duplicates of iterable.
dataset/ETHPy150Open Lasagne/Lasagne/lasagne/utils.py/unique