python get distinct values from list of dictionaries code example Example: python list of dictionary unique >>> [dict(y) for y in set(tuple(x.items()) for x in d)]