call function of class instance with no assigned name?

George Oliver georgeoliverGO at gmail.com
Tue May 5 18:15:37 EDT 2009


Thanks for the suggestions so far. I've taken the advice to keep
things simple so currently I'm just creating one instance of the
commandHandler and assigning it a name with command = commandHandler
(). This makes it easy to call it from any of the other handlers, and
I think this will work for what I want the game to do.



More information about the Python-list mailing list