This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- encoding: utf-8 -*- | |
# **INSTALL REQUIREMENTS BEFORE TEST** | |
# pip install flask flask-socketio eventlet | |
# pip uninstall -y python-engineio | |
# pip install git+https://github.com/miguelgrinberg/python-engineio.git | |
from flask import Flask, render_template, request | |
from flask_socketio import SocketIO, emit | |
# Change to your local ip |