d3 = dict(d1, **d2)
I understand that this merges the dictionary. But, is it unique? What if d1 has the same key as d2 but different value? I woul
If you want d1 to have priority in the conflicts, do:
d1
d3 = d2.copy() d3.update(d1)
Otherwise, reverse d2 and d1.
d2