python websocket client 使用 import websocket ws = websocket.WebSocket() ws.connect("xx.xx.xx") ws.send("string") ws.recv()