Dictionary processing in Python.