摘要: #coding=utf-8 from multiprocessing import Pool import os, time, random def run_task(name): print 'Task %s (pid = %s) is running...' % (name, os.getpid()) time.sleep(random.random() * 5) ... 阅读全文
posted @ 2018-11-19 11:47 道高一尺 阅读(394) 评论(0) 推荐(0) 编辑