here's my problem :
i have 2 classes , with these instantiations
[PHP]Class A:
def __init__(self):
self.service = None
self.currentVerMap = None
self.map= None
self.Name1 = None
self.Name2 = None
.
.
.
etc
def AX (self, name):
self.somevalue = gold
return self.somevalue
Class B (wx.Frame) :
def __init__(self, parent, id=wx.ID_ANY, title='', pos=wx.DefaultPosition,
size=(700,650), style=wx.DEFAULT_FRAME_STYLE):
wx.Frame.__init__(self, parent, id, title, pos, size, style)
def __BY (self, somevalue):
all i need inside this method is getting
GOLD value from Class A, method AX and use it
inside BY method
[/PHP]
plz guys .......i appreciate any help to solve this !
Thanks,
|