摘要: from multiprocessing import Pool,Manager import time def hanshu(queue,a): n = 1 while n<50: # print('\r正在工作%d'%a,end='') n+=1 # 【步骤3】往队列中发送一条消息 queue.put(a) ... 阅读全文
posted @ 2018-10-22 12:50 zhangdingqu 阅读(1049) 评论(0) 推荐(0) 编辑