Hello Python Dev.
i am new to python ...i would like to know more about how to access attribute values within different classes, different modules ....Assum we have the following
[HTML]Module 1
Class A (self):
def AX (self):
x = 'somestring'
return x
Module 2
Class B( self, ....):
def AY (self, .....):
[here i want to use x value
from AX method in module 1][/HTML]
the question is, how to inherit the x value from module 1 and use it in module 2 in AY method, assuming that __init__ is already defined for each class and being used by other methods too.....
any help is appreciated ....
Thanks !