1 #coding:utf-8 2 import urllib2 3 Response=urllib2.urlopen("http://www.baidu.com"); 4 Html=Response.read(); 5 print Html;