摘要: 线程处理IO密集型任务 import threading import time def foo(something): print(something) time.sleep(1) begin_time = time.time() ''' #总消耗时长: 2.001000165939331 foo 阅读全文
posted @ 2020-05-14 20:32 linma 阅读(193) 评论(0) 推荐(0)