cannot access modules from neighbouring directories jupyter notebook

Solutions on MaxInterview for cannot access modules from neighbouring directories jupyter notebook by the best coders in the world

showing results for - "cannot access modules from neighbouring directories jupyter notebook"
Fabiana
26 Sep 2016
1import os
2import sys
3module_path = os.path.abspath(os.path.join('..'))
4if module_path not in sys.path:
5    sys.path.append(module_path)
6# and add __init__.py to the modules
similar questions