import urllib url = "http://www.google.com.tw/" content = urllib.urlopen(url).read() print content
本文由 blogjohnsonluorg 提供 原文連結