title: Import a module from a relative path
body: <p>How do I import a Python module given its relative path?</p>
  
  <p>For example, if <code>dirFoo</code> contains <code>Foo.py</code> and <code>dirBar</code>, and <code>dirBar</code> contains <code>Bar.py</code>, how do I import <code>Bar.py</code> into <code>Foo.py</code>?</p>
  
  <p>Here's a visual representation:</p>
  
  <pre><code>dirFoo\
      Foo.py
      dirBar\
          Bar.py
  </code></pre>
  
  <p><code>Foo</code> wishes to include <code>Bar</code>, but restructuring the folder hierarchy is not an option.</p>