Tekkaman

导航

 

2016年6月17日

摘要: 【urllib2】 1、urllib2.urlopen(),参数可填url字符串,或者一个Request对象。 2、Request对象的set_proxy(proxy, type)可以设置代理。 3、urlopen的返回值的read()方法,可以body内容读取出来。 参考:https://docs 阅读全文
posted @ 2016-06-17 16:05 Tekkaman 阅读(158) 评论(0) 推荐(0)
 
摘要: 【join】 join(timeout=None) Wait until the thread terminates. This blocks the calling thread until the thread whose join() method is called terminates – 阅读全文
posted @ 2016-06-17 11:08 Tekkaman 阅读(176) 评论(0) 推荐(0)