diff --git a/book/features/live_code.ipynb b/book/features/live_code.ipynb index 8406c69..6cf8d5e 100644 --- a/book/features/live_code.ipynb +++ b/book/features/live_code.ipynb @@ -147,7 +147,10 @@ "\n", "```python\n", "%pip install package_name\n", - "```" + "```\n", + "\n", + "### Import module from subdirectory\n", + "In case you've a module in a subdirectory you cannot do directly `import `. To solve this, you first have to add that subdirectory to the path with `sys.path.insert(1, '/matrixmethod')` (preferably in a hidden cell with `theme-remove-input-init`)" ] }, {