title: how to uniqify a list of dict in python
body: <p>I have a list:</p>
  
  <pre><code>d = [{'x':1, 'y':2}, {'x':3, 'y':4}, {'x':1, 'y':2}]
  </code></pre>
  
  <p><code>{'x':1, 'y':2}</code> comes more than once I want to remove it from the list.My result should be:</p>
  
  <pre><code> d = [{'x':1, 'y':2}, {'x':3, 'y':4} ]
  </code></pre>
  
  <p><strong>Note:</strong>
   <code>list(set(d))</code> is not working here throwing an error.</p>