Compare two nested dictionaries
targetsmart
targetsmart at gmail.com
Sun Jul 25 11:03:06 EDT 2010
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
but it doesn't seem show any difference, but
assert result1 == result2
fails
could someone help me to find out the difference the two nested
dictionaries.
Any help is greatly appreciated.
Thanks,
Vivek.
More information about the Python-list
mailing list