M
M
Medelin02018-03-24 00:45:41
Flask
Medelin0, 2018-03-24 00:45:41

The variable "x" changes over time, how to see its new value without reloading the page?

There are several Python functions that return values ​​that change over time. You need to display these values ​​in real time on the site. What are the ways to implement this in Python + Flask? I asked in other places, advise JavaScript, tell me, please, in which direction to dig.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
E
Eugene, 2018-03-24
@3Lvcz

Towards ajax with long-pooling, or towards sockets, if it's not too much.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question