Lee Harr <missive at frontiernet.net> writes: > What is happening here? I am totally lost. > > I thought "in" checked to see if a key was in the dict, > I do not understand why this inserts anything in to the dict. Maybe http://www.python.org/doc/current/ref/exec.html enlightens you? Regards, Martin