python 自学第十六天 经过python3 获取网页源代码

代码很简单html import urllib.request def Html(url): html = urllib.request.urlopen(url) return html.read().decode('utf-8') respone = Html(r'http://blog.sina.com.cn/') print(respone) url
相关文章
相关标签/搜索