import requests def fetch_async(url): response = requests.get(url) return response url_list = [‘http://www.github.com‘, ‘http://www.bing.com‘] for url in url_list: fetch_async(url)
标签:port git ret sts import etc fetch list requests
import requests def fetch_async(url): response = requests.get(url) return response url_list = [‘http://www.github.com‘, ‘http://www.bing.com‘] for url in url_list: fetch_async(url)
标签:port git ret sts import etc fetch list requests
原文地址:https://www.cnblogs.com/zero-white/p/8661239.html