Python 2.X WebSocket Client

learn python websocket-client module

prerequisites

running

# server (node.js) - run in own terminal (blocking)
cd src/server
npm i
npm start

# client - run in separate terminal
cd src/client
virtualenv venv
source venv/bin/activate
pip install -r requirements.txt
python client.py

example run