Update live_code.ipynb

This commit is contained in:
Tom van Woudenberg 2024-12-27 09:39:12 +01:00
parent 770bb1496f
commit 37d4ba0dad

View file

@ -150,7 +150,7 @@
"```\n",
"\n",
"### Import module from subdirectory\n",
"In case you've a module in a subdirectory you cannot do directly `import <subdirectory>`. 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`)"
"In case you've a module in a subdirectory you cannot do directly `import <module_name> as <local_module_name>`. To solve this, you first have to add that subdirectory to the path with `sys.path.insert(1, '/<module_name/subdirectory>')` (preferably in a hidden cell with `theme-remove-input-init`)"
]
},
{