Arnaud Delobelle <arnodel at googlemail.com> writes: > Or to obtain a dictionary of differences: > > dict((k, (v, dic2[v]) for k, v in dic1.iteritems() > if dic2[v] != v) ^ Should be k of course! -- Arnaud