finding name of instances created
Nick Coghlan
ncoghlan at iinet.net.au
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.
Regards,
Nick.
--
Nick Coghlan | ncoghlan at email.com | Brisbane, Australia
---------------------------------------------------------------
http://boredomandlaziness.skystorm.net
More information about the Python-list
mailing list