The Python Oracle

Import local function from a module housed in another directory with relative imports in Jupyter Notebook using Python 3

Become part of the top 3% of the developers by applying to Toptal https://topt.al/25cXVn

--

Music by Eric Matyas
https://www.soundimage.org
Track title: Over a Mysterious Island Looping

--

Chapters
00:00 Question
02:20 Accepted answer (Score 276)
03:11 Answer 2 (Score 46)
04:14 Answer 3 (Score 29)
04:59 Answer 4 (Score 21)
06:42 Thank you

--

Full question
https://stackoverflow.com/questions/3447...

Question links:
[Relative imports in Python 3]: https://stackoverflow.com/questions/1698...

Accepted answer links:
[this notebook]: https://github.com/qPRC/qPRC/blob/master...

Answer 2 links:
[Project Jupyter Docker images]: https://hub.docker.com/u/jupyter/

--

Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...

--

Tags
#python #jupyternotebook #relativeimport

#avk47