title: Python: import file from sibling directory, where parent directory has the same name
body: <p>I want to import an object from a module in a package inside another module of a sibling package. But the parent directory has the same name as one of the packages.</p>
  <p>Here is the structure I am struggling with:</p>
  <pre><code>foo{
    __init__.py
    foo{
      __init__.py
      models.py
    }
    bar{
      __init__.py
      models.py
    }
  }
  </code></pre>
  <p>Inside of <code>foo</code> (not the parent) I want to import an object from <code>bar.models</code>.</p>
  <p>I tried this:</p>
  <pre><code>from foo.bar.models import MyObject
  </code></pre>
  <p>and</p>
  <pre><code>from ..bar.models import MyObject
  </code></pre>
  <p>None worked, how do you do ?</p>