欢迎来到牛牛题库网 牛牛题库官网
logo

单项选择题

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()

点击查看答案&解析
微信小程序免费搜题
微信扫一扫,加关注免费搜题

微信扫一扫,加关注免费搜题