Demo:
in two terminals, run server application, this would listen on localhost (0.0.0.0) and port 8000
./server.py
run client, this script would allow you to send WASD commands to the server
./send_keyboard.py
There is a different server demo as well that works with send_keyboard.py, ./server_with_coordinate.py try running these two applications together to see how server would manipulate some data coming from keyboard client