Answer the question
In order to leave comments, you need to log in
How to organize interaction between client and server in python?
Hello.
There is a small script for student work, for the purpose of self-education, I want to divide it into a client part and a server part.
Could you tell me how to organize the interaction between these two parts?
I have in my head only an option with a micro web server on a flask that will provide the API.
Maybe there are more reasonable options?
upd
Ideally, I would like the client to be able to give something to the server and continue working. And the server, when the answer is ready, gives the client what he asked for.
Thank you!
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question