摘要: 多进程multiprocessing from multiprocessing import Process import os def info(title): print(title) print('module name:', __name__) print('parent process:' 阅读全文
posted @ 2016-10-12 19:12 Dus 阅读(644) 评论(0) 推荐(0) 编辑
摘要: queue队列 class queue.Queue(maxsize=0) 先入先出 class queue.LifoQueue(maxsize=0) 后入先出 class queue.PriorityQueue(maxsize=0) 存储数据时可设置优先级的队列 queue.PriorityQueu 阅读全文
posted @ 2016-10-12 17:06 Dus 阅读(219) 评论(0) 推荐(0) 编辑