title: package imports libraries without even intializing class
body: <p>The doubt is the if import a class from a package inside another package like this :</p>
  
  <p><code>from bar import foo</code></p>
  
  <p>Does it initialize the class? and if the module has an import at the first line like :</p>
  
  <pre class="lang-py prettyprint-override"><code>import tensorflow
  
  class foo:
     def __init__(self):
      # some things
  </code></pre>
  
  <p>Does it import the package even if we don't initialize the class from another file?</p>