I could then fill the getattr function with different conditional statements as needed, cool. Thanks Steve!On 5/27/06, Steve Holden <
[EMAIL PROTECTED]> wrote:Cloudthunder wrote:> In the example:>
> class Boo:> def __init__(self, parent):> self.parent = parent> print self.parent
Okay, I'm just starting out with rapyd, so bear with me. I have one form and a label and I gave the label a controlvariable (textvariable). See:#--#
#
In the example:class Boo: def __init__(self, parent): self.parent = parent print self.parent.testme def run(): print "Yaho!"
class Foo: testme = "I love you!"
def __init__(self): test = Boo(self)A = Foo()How can I set up method delegation so that I can d
In the example:class Boo: def __init__(self, parent): self.parent = parent print self.parent.testme def run(): print "Yaho!"
class Foo: testme = "I love you!"
def __init__(self): test = Boo(self)A = Foo()How can I set up method delegation so that I can d
In the example:class Boo: def __init__(self, parent): self.parent = parent print self.parent.testme def run(): print "Yaho!"class Foo: testme = "I love you!"
def __init__(self): test = Boo(self)A = Foo()How can I set up method delegation so that I can do
t needs to access. How do I do this? Am I making sense?
Thank you to anyone who can help.- Cloudthunder
--
http://mail.python.org/mailman/listinfo/python-list
Sorry, I don't understand, how does this solve my problem?On 4/3/06, Jesus Rivero - (Neurogeek) <[EMAIL PROTECTED]
> wrote:-BEGIN PGP SIGNED MESSAGE-Hash: SHA1>>> help(getattr) help(setattr)
Regards, Jesus Rivero - (Neurogeek)Cloudthunder wrote:> Question: how do
Question: how do I merge two objects? I would like to be able to have an instance of Foo and an instance of Boo and then be able to add them together and create a new object that has the methods and properties of both objects. I am going to be doing a lot of this and I don't want to have to dynamic