import urllib
from urllib import request
a = urllib.request.Request(url)
b = urllib.request.urlopen(a)
本文共 155 字,大约阅读时间需要 1 分钟。
import urllib
from urllib import request
a = urllib.request.Request(url)
b = urllib.request.urlopen(a)
转载于:https://www.cnblogs.com/wangjikun/p/5900000.html