title: Importing python modules from root folder
body: <p>I am using python 2.7 and have the following project structure</p>
  
  <pre><code>main-folder
  
      --folder1
          - script.py
  
      --folder2
          - scr.py
  
      -- abc.py
      -- util.py
  </code></pre>
  
  <p>I am trying to import abc.py into util.py using</p>
  
  <pre><code>from main-folder import abc
  </code></pre>
  
  <p>but I am not getting error as below</p>
  
  <pre><code>ImportError: No module named main-folder
  </code></pre>
  
  <p>I also tried to append the path to main-folder to the path using</p>
  
  <pre><code>sys.path.append(r'path/to main-folder/main-folder')
  </code></pre>
  
  <p>I also have <em>init</em>.py in main-folder , folder1 &amp; folder2</p>