Possible Duplicate:
how to uniqify a list of dict in python
I have a list as follows
[
{'x':'1','y':'1'},{'x':'2','y':'2'},{'x':'1','y':'1'}
]
I want to get a new list as follows (unique elements)
[
{'x':'1','y':'1'},{'x':'2','y':'2'}
]
What's the best way?