title: Python: accessing attributes and methods of one class in another
body: <p>Let's say I have two classes A and B:</p>
  
  <pre><code>Class A:
     # A's attributes and methods here
  
  Class B:
    # B's attributes and methods here
  </code></pre>
  
  <p>Now I can assess A's properties in object of B class as follows:</p>
  
  <pre><code>a_obj = A()
  b_obj = B(a_obj)
  </code></pre>
  
  <p>What I need is a two way access.
  How do I access A's properties in B and B's properties in A ?</p>