f...@slick.airforce-one.org wrote:
Neil Cerutti <ne...@norwich.edu> wrote:I have a class A that contains two classes B and C:class A: class B: self.x = 2class C:I only wanted to show the structure of the code, not the actual instructions.
Always post working code, or at least something we can paste in the python interpreter (even if it's buggy)
class A: class B: x=2 class C: def __init__(self): print A.B.x c = A.C() >2 JM -- http://mail.python.org/mailman/listinfo/python-list