title: Importing file from local sub-folder
body: <p>I am importing a python file that resides in a local sub-folder. But I get the below error upon trying to import:</p>
  
  <blockquote>
    <p>ImportError: cannot import name 'Conf' from 'subfolder.utils'</p>
  </blockquote>
  
  <p>Does this error mean it cannot find the python file I am trying to import? Or does it mean the file I am trying to import has errors in it? How do I resolve this error?</p>
  
  <p>My folder structure is:</p>
  
  <pre><code>src/   
    __init__.py
    main.py   
    subfolder/ 
      __init__.py 
      utils/  
        __init__.py
        conf.py  
  </code></pre>
  
  <p>main.py:  </p>
  
  <pre><code>from subfolder.utils import Conf
  </code></pre>
  
  <p>conf.py:</p>
  
  <pre><code>class Conf:
     ....
  </code></pre>
  
  <p>*I am using python 3.6</p>