js is server, python is client
download
git clone https://github.com/YuTing-Fang1999/socket-between-js-and-python.git
cd .\socket-between-js-and-python\
npm install
run server
node '.\socket server.js'
run client (using another terminal)
python '.\socket client.py'
The code is extracted from
https://github.com/stories2/CubismWebSamples