def uniquify_list ( L ) : return [ e for i , e in enumerate ( L ) if L . index ( e ) == i ]
finding unique lists in python
Same order unique list using only a list compression .
def uniquify_list(L):
    """Same order unique list using only a list compression."""
    return [e for i, e in enumerate(L) if L.index(e) == i]