At 04:10 PM 12/1/03 -0600, Skip Montanaro wrote: >def load(): > execfile(_session_file, sys._getframe(-1).f_globals) > print >> sys.stderr, "loaded session from", _session_file What does getframe with a negative number do? I've only ever used positive numbers when calling getframe. I think maybe you want 1 here, not -1.