finding name of instances created

Nick Coghlan ncoghlan at
Sun Jan 23 02:11:48 EST 2005

André wrote:
> 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.


Nick Coghlan   |   ncoghlan at   |   Brisbane, Australia

More information about the Python-list mailing list