I wanted to replace Jupyter Notebooks with something which has a more IDE like feeling.
I stumbled upon Hydrogen which is a plugin for the Atom Editor.
It worked ok, but since I use the Cookiecutter directory layout I always had the problem that scripts I ran from my src
folder needed other imports than the ones I used in the notebooks
folder.
I tried a lot of other plugins like atom-python-run but I had the same problem. Depending on the directory where the script lived imports where not found.
Usually one would set the PYTHONPATH
to add more folders for Python to search in, but I found no way to set the PYTHONPATH
inside Hydrogen (ideally in a per project way).
`