ipython / ipython/ipynb

Load ipynb contained from a different directory

Đang mở
#53 2 bình luận 3 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Jupyter Notebook
Star
258
Fork
71
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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.

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.