python(server) javascript(client) 做websocket
python部分import jsonimport websocketsimport asyncio'''https://websockets.readthedocs.io/en/stable/python websocket库官方文档'''async def socket_server(websocket,port): a = await websocket.recv() print(f"{a}") data = [['apple', 'egg', 'wa