import urllib, httplib httplib.HTTPConnection.debuglevel = 1 urllib.urlopen(http://google.com)
import urllib2 handler=urllib2.HTTPHandler(debuglevel=1) opener = urllib2.build_opener(handler) urllib2.install_opener(opener) request = urllib2.Request(url,headers,data)
posted on 2010-12-16 17:39 flyonok 阅读(777) 评论(0) 编辑 收藏 引用 所属分类: python
Powered by: C++博客 Copyright © flyonok