Task: Import Local Function from Another Directory in Jupyter Notebook
Task: Import Local Function from Another Directory in Jupyter Notebook: a task in Terminal-Lego-15k (Harbor dataset). You need to set up a Python project structure that allows importing a local function from a module in another directory when working in a Jupyter Notebook. The challenge is that…
The task
You need to set up a Python project structure that allows importing a local function from a module in another directory when working in a Jupyter Notebook. The challenge is that relative imports don't work directly in Jupyter Notebooks because notebooks are not part of a package hierarchy.
Part of PrimeIntellect/Terminal-Lego-15k.