title: How to set the PYTHONPATH per project in ATOM editor
body: <p>I wanted to replace <a href="http://jupyter.org/" rel="nofollow noreferrer">Jupyter Notebooks</a> with something which has a more IDE like feeling.</p>
  
  <p>I stumbled upon <a href="https://atom.io/packages/hydrogen" rel="nofollow noreferrer">Hydrogen</a> which is a plugin for the <a href="https://atom.io/" rel="nofollow noreferrer">Atom Editor</a>.</p>
  
  <p>It worked ok, but since I use the <a href="https://drivendata.github.io/cookiecutter-data-science/#directory-structure" rel="nofollow noreferrer">Cookiecutter directory layout</a> I always had the problem that scripts I ran from my <code>src</code> folder needed other imports than the ones I used in the <code>notebooks</code> folder.</p>
  
  <p>I tried a lot of other plugins like <a href="https://atom.io/packages/atom-python-run" rel="nofollow noreferrer">atom-python-run</a> but I had the same problem. Depending on the directory where the script lived imports where not found.</p>
  
  <p>Usually one would set the <code>PYTHONPATH</code> to add more folders for Python to search in, but I found no way to set the <code>PYTHONPATH</code> inside Hydrogen (ideally in a per project way).
  `</p>