use proper markdown for python code snippets
This commit is contained in:
parent
e777be80fe
commit
e6cbcaebe4
1 changed files with 4 additions and 4 deletions
|
@ -9,11 +9,11 @@ It's run with `cd flinventory_gui && python search.py`.
|
|||
## Packages and importing
|
||||
|
||||
I still don't understand the import and package mechanism of python.
|
||||
I tried a lot of different combinations of . and import and import from
|
||||
but could not get search.py working at the same time as keeping the
|
||||
scripts like datacleanup.py in flinventory working.
|
||||
I tried a lot of different combinations of `.` and `import` and `import from`
|
||||
but could not get `search.py` working at the same time as keeping the
|
||||
scripts like `datacleanup.py` in flinventory working.
|
||||
My terrible workaround now is to symlink the necessary python files
|
||||
in flinventory_gui from the subdirectory (and submodule) inventory.
|
||||
in `flinventory_gui` from the subdirectory (and submodule) `inventory`.
|
||||
Please fix this if you have understood python import mechanism.
|
||||
|
||||
## Making website accessible in local network
|
||||
|
|
Loading…
Reference in a new issue