I have a HTTP sever in one program and my basic application in another one. Both of them are loops, so I have no idea how to:
- Write a script that would start the app and then the HTTP server;
- Make these programs exchange data in operation.
How are these things usually done? I would really appriciate Python solutions because my scripts are written in Python.
Does a user make an http request which queries the app for some data and return a result? Yes
Does the app collect data and store it somewhere? The app and the HTTP Server both use SQLite database. However the DBs may be different.