title: Access a variable in a function from another module?
body: <p>Two .py files, the <code>to_be_imported.py</code> has:</p>
  
  <pre><code>def func(a):
  
      b = a + "!!!"
      c = b + " Mike!!!"
      print c
  </code></pre>
  
  <p>The <code>import.py</code> has:</p>
  
  <pre><code>from to_be_imported import *
  func("hey")
  </code></pre>
  
  <p>But when I try to access variable <code>b</code> I got error <code>AttributeError: 'NoneType' object has no attribute 'b'.</code>. </p>
  
  <p>How to get the value of <code>b</code> after I give the function value <code>"hey"</code>?</p>