I have tried this exact example (using Python 2.3 if it makes any difference) and what I got was: robot None moved robot None moved
I checked what I wrote, used cut & paste on your code, removing the leading "junk", tried it again ... to no avail. :-(
Worked exactly as written for me, but I believe there were Python 2.4 changes relating to using exec with non-standard dictionaries.
Regards, Nick.
-- Nick Coghlan | [EMAIL PROTECTED] | Brisbane, Australia --------------------------------------------------------------- http://boredomandlaziness.skystorm.net -- http://mail.python.org/mailman/listinfo/python-list