convert dict in list to one dict : <pre><code>result = [{u'timestamp': 1464246000, u'value': 36.9},
          {u'timestamp': 1464246900, u'value': 34.61},
          {u'timestamp': 1464247200, u'value': 34.84}]
zzz = {}
for x in result:
    zzz[x['timestamp']] = x['value']
print zzz
</code></pre>

<p>{1464246000: 36.9, 1464247200: 34.84, 1464246900: 34.61}</p>

<p>But, I need some like this(dict comprehension):</p>

<pre><code>lst = [{'1': 'A'},{'2': 'B'},{'3': 'C'}]
print {k:v for x in lst for k,v in x.items()}
{'2': 'B', '3': 'C', '1': 'A'}
</code></pre>

<p>How to do this ?</p>
