dictionary comparison

Richard Brodie R.Brodie at rl.ac.uk
Thu Aug 10 13:09:41 EDT 2000


"Olivier Dagenais" <olivierS.dagenaisP at canadaA.comM> wrote in message
news:AvAk5.138659$Gh.1982357 at news20.bellglobal.com...

> I solved this problem yesterday!  (or very early this morning..)

Hate to say this but (dict1 == dict2) will do this, if only comparing for
equality is required. As opposed to, say, iterating over the union of the
keys.





More information about the Python-list mailing list