Hi, On 07/25/2010 06:21 PM, Steven D'Aprano wrote: > On Sun, 25 Jul 2010 08:03:06 -0700, targetsmart wrote: > >> Hi, >> I am trying to compare two nested dictionaries, I want to know what is >> the exact difference between them. I tried this solution >> >> ... >> s1 = set(result1) >> s2 = set(result2) >> print s1 - s2 >>
I think you want to have the symmetric difference: try s1 ^ s2 >> but it doesn't seem show any difference, but >> -- http://mail.python.org/mailman/listinfo/python-list