Added local module live coe

This commit is contained in:
Tom van Woudenberg 2024-12-27 09:35:26 +01:00
parent 32a76c3cdd
commit 770bb1496f

View file

@ -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 <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`)"
]
},
{