Popular recipes by Michael Shepanski http://code.activestate.com/recipes/users/4169100/2009-02-05T08:35:07-08:00ActiveState Code RecipesDiff Two Dictionaries (Python) 2009-02-05T08:35:07-08:00Michael Shepanskihttp://code.activestate.com/recipes/users/4169100/http://code.activestate.com/recipes/576644-diff-two-dictionaries/ <p style="color: grey"> Python recipe 576644 by <a href="/recipes/users/4169100/">Michael Shepanski</a> (<a href="/recipes/tags/dictionary/">dictionary</a>, <a href="/recipes/tags/diff/">diff</a>, <a href="/recipes/tags/difference/">difference</a>). </p> <p>Diff two dictionaries returning just the differences. If an item is not found, it is represented by the string "&lt;KEYNOTFOUND&gt;". If there is a better way, please share. :)</p>