Greetings, my master. I think you need to strip back and simplify, it looks like > you may have been reading too many different resources > and incorporated some ideas without really understanding > what they do and why.
I'm humbled by your insight. This is absolutely true. I did some research, reading and test last night and I finally got it working. There was a missing bit that I needed to understand, and suddenly I saw the light. :-) In a manner of speaking. I wrote this piece of code: class UserInput: def __init__(self): pass def test_callback(self, this_callback): print "testing the callback" this_callback class Game: def __init__(self): self.ui = UserInput() def hello(self): print "hello world" def useUI(self): self.ui.test_callback(self.hello()) g = Game() g.useUI() I wanted to understand how a "parent" object could send a callback to a "child" object, and now I got it. Feel free to comment on this, please. Thank you for your patience, Alan. -- Med venlig hilsen/Kind regards Michael B. Arp Sørensen Programmør / BOFH I am /root and if you see me laughing you better have a backup.
_______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor