Classes in a class: how to access variables from one in another
fab at slick.airforce-one.org
fab at slick.airforce-one.org
Mon Oct 18 09:09:33 EDT 2010
Hello.
I have a class A that contains two classes B and C:
class A:
class B:
self.x = 2
class C:
Is there a way to access the x defined in B in class C?
Thanks.
--
F. Delente
More information about the Python-list
mailing list