title: Python: Import file in grandparent directory
body: <p>Hierarchy:</p>
  
  <pre><code>scripts/
      web/
          script1.py
      tests/
          script2.py
  common/
      utils.py
  </code></pre>
  
  <p>How would I import utils in script1 and script2, and still be able to run those scripts seperately (i.e., <code>python script1.py</code>). Where would I place the <code>__init__.py</code> files, and is that the correct way to go about this? Thank you!</p>