P
prilisauer
Hello, to all,
I hope I can describe me problem correctly.
I have written a Project split up to one Main.py and different modules which are loaded using import and here is also my problem:
1. Main.py executes:
2. Import modules
3. One of the Modules is a SqliteDB datastore.
4. A second module creates an IPC socket.
5. Here is now my problem :
The IPC Socket should run a sub which is stored ad SqliteDB and returns all Rows.
Is there a elegant way to solve it? except a Queue. Is it possible to import modules multiple?! I'm unsure because the open DB file at another module.
How is this solved in bigger projects?
Thanks a lot for all answers.
BR
I hope I can describe me problem correctly.
I have written a Project split up to one Main.py and different modules which are loaded using import and here is also my problem:
1. Main.py executes:
2. Import modules
3. One of the Modules is a SqliteDB datastore.
4. A second module creates an IPC socket.
5. Here is now my problem :
The IPC Socket should run a sub which is stored ad SqliteDB and returns all Rows.
Is there a elegant way to solve it? except a Queue. Is it possible to import modules multiple?! I'm unsure because the open DB file at another module.
How is this solved in bigger projects?
Thanks a lot for all answers.
BR