[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [pygame] A question about callback functions



Guillaume,

Thank you for the response! I hadn't even thought of subclassing, duh! :)
That's great. I'm still fuzzy on one point though. You said:

>>And then when reading the configuration you would just need to
instantiate the class from its name (using apply for example).

Could you be more speciffic on how you can instantiate a class from the
name given in a .conf file?

Again, thanks a lot!

-Mike