Proper way to include files
<p>I am trying to keep a somewhat organized directory structure as I plan to add more and more scripts. So lets say I have a structure like this:</p>

<pre><code>/src/main.py
/src/db/&lt;all my DB conn &amp; table manipulation scripts&gt;
/src/api/&lt;all my scripts that call different APIs&gt;
</code></pre>

<p>My main.py script will include certain classes from db &amp; api folders as needed. I have the blank <strong>__<em>init</em>__</strong>.py files in each folder so they are included fine. But say I want to include a class from the db folder in a script in the api folder? Like I would need to back up one dir somehow? The api scripts fail when I have a line like this in them:</p>

<pre><code>from db.Conn import QADB
</code></pre>

<p>I am on v2.6.</p>

<p>Update: I have tried a relative import, but get this?</p>

<pre><code>from ..db.Conn import QADB 
     ^ SyntaxError: 
invalid syntax
</code></pre>
