安裝websocket -client for python套件... pip install websocket-client ... from websocket import enableTrace, WebSocketApp # 取物件的時候就直接指定事件方法ws .
確定! 回上一頁