摘要: python 实现threadpool线程池管理: from concurrent.futures import ThreadPoolExecutor as te from concurrent.futures import ProcessPoolExecutor as pe from concur 阅读全文
posted @ 2020-02-13 20:53 不带R的墨菲特 阅读(227) 评论(0) 推荐(0)
摘要: from locust import HttpLocust, TaskSet, task import uuid, time import logging,json # https://docs.locust.io/en/stable/third-party-tools.html class Use 阅读全文
posted @ 2020-02-13 19:30 不带R的墨菲特 阅读(230) 评论(0) 推荐(0)
摘要: # coding=utf-8 # urllib_get_file=urllib.request.urlretrieve(url=None,filename="test.zip") # basic usage of urllib from urllib import request url = "ht 阅读全文
posted @ 2020-02-13 00:23 不带R的墨菲特 阅读(140) 评论(0) 推荐(0)