R
R
rbild2020-05-13 20:54:10
Python
rbild, 2020-05-13 20:54:10

What are the ways to implement a chain of actions in a client-server application in Python?

That is, how can you implement the scheme: after receiving a number from the client, the server performs some function and gives it to the client, the client performs another function with the received number and transmits again, etc.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
B
bubaley, 2020-05-13
@bubaley

The easiest way is to use some kind of framework.
For example django. If its functionality is too much, then on the server you can raise a script with flask where you can describe a couple of requests that receive data from the front via api and return a result.
And on the front, it will be enough html with js in which axios and jQuery are connected.
But I would take advantage of vue for dynamics.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question