We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2f1526a commit 0db329bCopy full SHA for 0db329b
docs/index.rst
@@ -85,11 +85,10 @@ Relative imports
85
If you want to import notebooks from other notebooks relatively, you can easily
86
do that with the following:
87
88
-```
89
-import ipynb.fs
90
-from .full.notebook1 import foo
91
-from .defs.notebook2 import bar
92
+.. code-block:: python
+ import ipynb.fs
+ from .full.notebook1 import foo
+ from .defs.notebook2 import bar
93
94
This will do the imports from other notebooks relative to the path of the notebook
95
in which the importing is happening. The `import ipynb.fs` is boilerplate that is
0 commit comments