title: Access a variable from a class from different file
body: <p>I have two files a.py and b.py 
  In b.py there is class defined as follow:</p>
  
  <pre><code>class ii(ldata) ..... 
        self.mn()
  
        def mn(self) .... 
            return t1,t2
  </code></pre>
  
  <p>I want the values of <code>t1</code> and <code>t2</code> in a.py 
  In file a.py I have imported b</p>
  
  <pre><code>from b import ii 
  t1,t2=ii()
  </code></pre>
  
  <p>But I get an error. <code>class ii has no attribute 't1'</code></p>
  
  <p>Can anyone let me know how to access the value <code>t1</code> and <code>t2</code> in a.py</p>