A simple web polling example based on Flask and Flask-restful on server side and jQuery on client side.
- Flask-restful (
pip install flask-restful
).
- Clone the repository
- Execute the server (
python server.py
) - Open the url http://127.0.0.1:5000/
- Change and save
data.txt
to see how it works