帮我看看那错了
import sys.urllib
url="http://www.baidu.com"
wp=urllib.urlopen(url)
content=wp.read
fp=open("E:\\python\\web.txt"."w")
fp=write(content)
fp.close()
import sys.urllib
url="http://www.baidu.com"
wp=urllib.urlopen(url)
content=wp.read
fp=open("E:\\python\\web.txt"."w")
fp=write(content)
fp.close()
2017-06-12
举报