 <p>You can use relative imports</p> <pre><code># inside subdirectory/script.py from .. import important_file </code></pre> <p>but really the best solution is to add it to your <code>PYTHONPATH</code> and do</p> <pre><code>import proj.important_file </code></pre>