Compare two nested dictionaries
News123
news1234 at free.fr
Sun Jul 25 12:30:30 EDT 2010
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
>>
More information about the Python-list
mailing list