K
K
kdm922016-02-25 17:50:48
Python
kdm92, 2016-02-25 17:50:48

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

1 answer(s)
M
Michael, 2016-02-25
@kdm92

This is the most normal option, still attach the server to a tornado and close it all with ngnix 'ohm and on the face with a bootstrap and any js framework, although a standard template engine is enough for student work

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question