def websocket_wss(): try: wss = create_connection(wss_url, timeout=10) if wss.status == 101: wss.send(data) print(ws.recv()) except BaseException as msg: print('失敗: ' + str(msg))
轉載請註明出處,本文鏈接:https://www.uj5u.com/houduan/95168.html
標籤:Python
上一篇:Python語法的使用和簡介
