from queue import Queue from threading import Thread import time def producer(out_q): while True: time.sleep(5) out_q.put("test") ...
確定! 回上一頁