def get_url(url):
# conditions
import multiprocessing
threads = []
thread = multiprocessing.Process(target=get_url,args=(url))
threads.append(thread)
for st in threads:
st.start()
现在,我想一次执行10个请求,一旦完成10个请求。选择其他10等等。我正在阅读文档,但我没有找到任何用例。我是第一次使用这个模块。任何帮助将不胜感激。