ipynb
ipynb copied to clipboard
Package / Module importer for importing code from Jupyter Notebook files (.ipynb)
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...
Hi, newbie here - I have tried to use ipynb in google colab with no success... Here is my code: ``` !pip install ipynb --upgrade from ipynb.fs.defs.testingnb import * ```...
Following https://stackoverflow.com/questions/44116194/import-a-function-from-another-ipynb-file Python/Sagemath9.4/Jupyter error? Using jupyter with kernel selections:sagemath9.4, python3 I found that the import works if the file pyt.ipynb is written with the Jupyter kernel Python3 selected, but can't...
I have strived to import an external ipynb, but I got the following error: > ImportError: Could not import /content/*.ipynb for ipynb.fs.full.*: incorrect version or language I was wondering if...
It's really wierd that when the source notebook has the magic cell funcction `%matplotlib inline` statement, the `from ipynb.fs.defs.one_eda import guess_age` throws an error citing the same.
Hi and thanks for this great package. I getting an error while opening a symbolic link notebook to the working directory. Do you have any recommendations how to over come...
Right now ipynb package can't be used in google colab, because _kernelspece_, inside nb json, has no `language` key. Instead, you have to call for `name`, and the value is...
Assuming there is a function files I want to import: `project/helper_fun.ipynb` My current working ipynb file is: `project/branch/work.py` when I write `from ipynb.fs.defs.helper_fun import fun1` in my`work.p`, it says`there is...
For some imported notebook, say demo1 `import ipynb.fs.defs.demo1` is OK, but `import ipynb.fs.defs.demo1 as d1` FAIL and for other imported notebook, say demo2 `import ipynb.fs.defs.demo2 as d2` is OK, but...
addresses #45 starts to include the `importnb` machinery in the `ipynb` repo. `importnb` has features that address a few open issues #38 #6 #44 * In the short term should...