In article <[EMAIL PROTECTED]>, <[EMAIL PROTECTED]> wrote: > >Whoops > >for keys, values in dict_one.items(): > if keys in dict_two: > if values == dict_two[keys]:
Except that "keys" implies a plural (meaning more than one thing); in a for loop, each iteration will have only one key. -- Aahz ([EMAIL PROTECTED]) <*> http://www.pythoncraft.com/ "as long as we like the same operating system, things are cool." --piranha -- http://mail.python.org/mailman/listinfo/python-list