title: Import modules from different folder (python)
body: <p>I have a folder, which contains two separate folders, one of which holds some python modules, and the other one holds a python script that uses those modules:</p>
  
  <pre><code>parentFolder/
      lib/
         __init__.py
         readFile.py
         writeFile.py
      folder/
         run.py
  </code></pre>
  
  <p>The <code>__init__.py</code> file is empty. In <code>run.py</code>, I have the following:</p>
  
  <pre><code>from ..lib import readFile
  
  data = readFile('file.dat')
  </code></pre>
  
  <p>This gives me the error</p>
  
  <pre><code>Traceback (most recent call last):
    File "run.py", line 1, in &lt;module&gt;
      from ..lib import readFile
  ValueError: Attempted relative import in non-package 
  </code></pre>
  
  <p>What am I missing?</p>