摘要: # from concurrent.futures import ProcessPoolExecutor,ThreadPoolExecutor # import requests # import os # import time # import random # # def get(url): 阅读全文
posted @ 2018-11-13 19:54 萤huo虫 阅读(215) 评论(0) 推荐(0) 编辑
摘要: from threading import Thread,current_thread import time def task(): print('%s is running' %current_thread().name) time.sleep(3) print('%s is done' %cu 阅读全文
posted @ 2018-11-13 19:32 萤huo虫 阅读(158) 评论(0) 推荐(0) 编辑