摘要: from multiprocessing import Queue q = Queue(5) # 设置队列的长度 q.put(1) # 往队列中写入数据 q.put(2) q.put(3) q.put(4) q.put(5) # print(q.full()) # 判断当前队列是否已满 print( 阅读全文
posted @ 2019-08-12 20:53 去遇见最好的自己 阅读(160) 评论(0) 推荐(0)