websocketsEasy Playground

WebSocket servers and clients with asyncio

Getting started with websocketsRun locally
Install
pip install websockets
Python CodeRun locally
Expected Output
# Expected output shown below
# (Run locally with: websockets)

websockets is a third-party package. WebSocket servers and clients with asyncio. Install with: pip install websockets

Challenge

Try modifying the code above to explore different behaviors. Can you extend the example to handle a new use case?