title: python import module from parent package
body: <p>I have the following directory structure</p>
  
  <pre><code>foo/
      __init__.py
      settings.py
      bar/
          __init__.py
          myfile.py
  </code></pre>
  
  <p>In myfile.py I have:
      import settings</p>
  
  <p>I get the following error: <code>ImportError: No module named settings</code>, why? How can I efectively import the <code>settings</code> file from <code>myfile.py</code></p>