单项选择题
import urllib.request
resp=urllib.request.urlopen("http://127.0.0.1:5000")
______________
print(html)
获取网站的HTML文本数据,缺少的语句是:
A、html=resp.read().decode()
B、html=resp.read().encode()
C、html=resp.read()
D、html=resp.get()
点击查看答案&解析
