use proper markdown for python code snippets

This commit is contained in:
flukx 2024-10-27 14:33:25 +01:00
parent e777be80fe
commit e6cbcaebe4

View file

@ -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