python and web GUI integration with socket.io
Install node packages, python modules
pip install python-socketio
pip install socketio-client
npm install socket.io
wg = webgui("http://127.0.0.1:50080")
wg.set_event("engine") # set engine or gui
wg.start(decode_protocol) # callback function
- windows batch
1_start_server_socket.bat
2_start_python_engine.bat
- open web browser