https://www.donskytech.com/python-flask-websockets/
- Create virtual environment
python -m venv .venv
- Activate the virtual environment
- Install the dependencies
pip install -r requirements.txt
- Run the project
python sensor_app.py
Display real time sensor values using Python, Flask and Flask-SocketIO
HTMLMIT
https://www.donskytech.com/python-flask-websockets/
python -m venv .venv
pip install -r requirements.txt
python sensor_app.py