read [ri:d] 阅读,朗读;显示;研究;看得懂
response 反应;回答,答复;[宗]回应经文,应唱圣歌
英 [rɪˈspɒns] 美[rɪˈspɑ:ns]
import urllib2
html_home= urllib2.urlopen('http://www.pythontab.com')
html =html_home.read()
print html
#获取一个网页源码
read [ri:d] 阅读,朗读;显示;研究;看得懂
response 反应;回答,答复;[宗]回应经文,应唱圣歌
英 [rɪˈspɒns] 美[rɪˈspɑ:ns]
import urllib2
html_home= urllib2.urlopen('http://www.pythontab.com')
html =html_home.read()
print html
#获取一个网页源码
转载于:https://my.oschina.net/ruowu/blog/983298