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