Skip to content

Load ipynb contained from a different directoryΒ #53

Open
@andrea-vandin

Description

@andrea-vandin

Let us suppose my main notebook (main.ipynb) is next to a folder otherpath containing another notebook to be imported (to_be_imported.ipynb).

If I do
import ipynb.fs.defs.otherpath.to_be_imported

I get
ModuleNotFoundError: No module named 'ipynb.fs.defs.otherpath'

If I move to_be_imported.ipynb in the same folder of the main file, everything works.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions