html = response.read()
str_html = html.decode()
f = open('baidu.html', 'w+')
for values in str_html:
f.write(values)
f.close() html = response.read()
str_h html = response.read()
str_html = html.decode()
f = open('baidu.html', 'w+')
for values in str_html:
f.write(values)
f.close() html = response.read()
str_h