html=urlopen("https://en.wikipedia.org/robots.txt")#默认采用ASCII来编码的
print(html.read().decode("utf-8"))
微信扫一扫
html=urlopen("https://en.wikipedia.org/robots.txt")#默认采用ASCII来编码的
print(html.read().decode("utf-8"))
相关推荐