Python读取网页内容

import urllib
url=’http://www.feinfood.com/restaurants/%E5%BE%B7%E5%9B%BD/%E6%85%95%E5%B0%BC%E9%BB%91.xhtml?p=&key=&o=0&pg=1′
response = urllib.urlopen(url=url)
print(response.read().decode(‘utf-8’));