title: Package import failure in Python 3.5
body: <p>I have the following folder structure:</p>
  
  <pre class="lang-sh prettyprint-override"><code>/main
      main.py
      /io
          __init__.py
          foo.py
  </code></pre>
  
  <p>In Python 2.7 I would write the following in <code>main.py</code>:</p>
  
  <pre class="lang-py prettyprint-override"><code>import io.foo
  </code></pre>
  
  <p>or</p>
  
  <pre><code>from io.foo import *
  </code></pre>
  
  <p>wheareas in Python 3.5 I get an import error:</p>
  
  <pre class="lang-sh prettyprint-override"><code>Traceback (most recent call last):
      File "./main.py", line 6, in &lt;module&gt;
      import io.foo
  ImportError: No module named 'io.foo'; 'io' is not a package
  </code></pre>
  
  <p>I couldn't find any help so far.</p>