title: ImportError: No Module Named <parent dir>
body: <p>I am trying to learn programming through Python, so I apologize in advance if this is an absurdly simple question.  </p>
  
  <p>I am attempting to simplify my convoluted directory structure and utilize some of Python's code-reuse features, I have encountered what is for me an inexplicable <code>ImportError</code> error.  For the past several hours I've been reading about Python's <code>import</code>, <code>module</code>, and <code>package</code> features (<a href="http://goo.gl/GvnxsO" rel="noreferrer">here</a>, <a href="http://goo.gl/owxN1W" rel="noreferrer">here</a>, <a href="https://stackoverflow.com/questions/338768/python-importerror-no-module-named">here</a>, and <a href="http://goo.gl/Ke9lBk" rel="noreferrer">here</a> among others), yet I remain unable to solve this (seemingly) simple error.  </p>
  
  <p>Here is the problem.  </p>
  
  <p>I have one directory (<code>dir</code>), within which resides one sub-directory (<code>subdir</code>).  Each directory includes a few files.  Thus, my overall directory structure looks like the following:</p>
  
  <pre><code>dir/
      __init__.py
      draw_lib.py
      subdir/
          __init___.py
          drawing.py
  </code></pre>
  
  <p>In my <code>drawing.py</code> file, I attempt to import <code>draw_lib.py</code> with the following line: <code>from dir import daw_lib.py</code>. It results in an <code>ImportError: No module named dir</code>. Can anyone provide a quick explanation for why my <code>drawing.py</code> file can't find my <code>dir</code> directory? Thank you for any assistance.  I'm completely lost and would really like to improve my code reuse and directory structure once and for all.</p>