Possible to do this in Python?
<p>I am fairly new to Python, and am not sure if this can be done. As you can see, I couldn't even figure out a good title for the question. Say I have 2 classes,</p>

<pre><code>class A:
    self.B = None

class B:
    def c(self):
        pass

    def d(self):
        pass
</code></pre>

<p>Now if I make an instance of the class,</p>

<pre><code>a = A()
a.b = B()
</code></pre>

<p>I want something like,</p>

<pre><code>print a.c()
</code></pre>

<p>And this should internally call:</p>

<pre><code>a.b.c()
</code></pre>
