title: Error with relative parent imports
body: <p><strong>I'm running into an error when attempting to import a file in the parent directory.</strong></p>
  
  <p>Code from <code>test/log_line.py</code>:</p>
  
  <pre><code>#! /usr/bin/env python3
  from ..lib_common import log_line
  </code></pre>
  
  <p>Error:</p>
  
  <pre><code>$ py -3 test/log_line.py
  Traceback (most recent call last):
    File "test/log_line.py", line 2, in &lt;module&gt;
      from .. import lib_common
  ImportError: attempted relative import with no known parent package
  </code></pre>
  
  <p>Directory Structure:</p>
  
  <pre><code>./
  |   test/
  |   |   log_line.py
  |   lib_common.py
  |   __init__.py
  </code></pre>
  
  <p><code>lib_common.py</code> contains the <code>log_line</code> function.
  Added <code>__init__.py</code> at the suggestion of @Pavel.</p>
  
  <p>Any idea why Python is giving me the error? Googling the traceback returned one somewhat-related result. No luck.</p>