This has probably been asekd a million times, but if someone could give a short answer anyways I's be most grateful.
What is it that allows one to write A.x? If I have a variable A, then what to I have to assign to it to A.x becomes valid? Or even further: what do I have to do so I can write A.x=1 without having done anything magical for x (but just for A)? I know you can do this with classes, but not with plain objects, but why is that so? -- http://mail.python.org/mailman/listinfo/python-list