import urllib url = "http://www.google.com.tw/" content = urllib.urlopen(url).read() print content Categories: Python