mirror of
https://github.com/TeachBooks/manual.git
synced 2026-11-12 22:35:51 +00:00
Added local module live coe
This commit is contained in:
parent
32a76c3cdd
commit
770bb1496f
1 changed files with 4 additions and 1 deletions
|
|
@ -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`)"
|
||||
]
|
||||
},
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue