看板 Python 關於我們 聯絡資訊
code: http://codepad.org/h29TTKoU 我想要讓 41-50行可以執行 讓主程式在接收到三次pipe的輸入內容後 可以中斷Test的執行 但是在Test.run 後 main的process會變的無法執行 請問這段程式碼要怎麼修改呢? 謝謝 -- ※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 114.38.80.137 ※ 文章網址: https://www.ptt.cc/bbs/Python/M.1475325090.A.5E7.html
Raymond0710: 用法錯了 是呼叫Test.start 停止Test.run要用Event 10/02 09:56
原來如此 感謝! ※ 編輯: splasky (1.170.115.187), 10/02/2016 21:49:19