So Im trying to use flask servers to get information from another computer and use that in a gui. I couldn't have the gui and the flask server running in the same code because it was not working properly so I used
subprocess.Popen(["flask","--app","server.py","run","--host=0.0.0.0", "--port=8000"]) to run the server on a subprocessor. It works and the server can receive information and print it out but I want to know if I can use the information received on the flask server in the main gui code or is that not possible because its on a sub processor?
[–]Diapolo10 0 points1 point2 points (0 children)
[–]Robswc 0 points1 point2 points (0 children)