2013年6月8日

摘要: 参考链接:http://docs.python.org/2/howto/urllib2.html?highlight=urlopen%20timeoutThe Python support for fetching resources from the web is layered. urllib2 uses the httplib library, which in turn uses the socket library.As of Python 2.3 you can specify how long a socket should wait for a response before 阅读全文

posted @ 2013-06-08 19:32 Kanone 阅读(739) 评论(0) 推荐(0) 编辑