I know this is going to be newbie-type question, so I apologise in advance. What's the best way of comparing a dictionary with another (possibly itself) without doing each comparison twice as for key1 in dict1.keys(): for key2 in dict2.keys(): would? Peter Sent via Deja.com http://www.deja.com/ Before you buy.