title: import python file
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/5747598/python-package-structure">Python package structure</a>  </p>
  </blockquote>
  
  
  
  <p>Hello,
  I'm looking to import a python file that I have in a sub-directory that is below the root of my main file. e.g.</p>
  
  <pre><code>import ../library/utils.py
  </code></pre>
  
  <p>When I put that into my code and run it I get a compile error.</p>
  
  <p>Is there a way to include files from below the main file root directory or does it have to be in a sub-directory in the root?</p>
  
  <p>Thanks for your help.</p>