bug_x

导航

 
上一页 1 ··· 22 23 24 25 26 27 28 29 30 ··· 43 下一页

2018年10月24日

摘要: eg: Error self._target(*self._args, **self._kwargs) TypeError: get_zonghe_answers() takes 1 positional argument but 36 were given Instead, you should 阅读全文
posted @ 2018-10-24 21:33 bug_x 阅读(423) 评论(0) 推荐(0)
 
摘要: http://wuduozhi.me/2018/06/21/python-Multiprocessing%E5%A4%9A%E8%BF%9B%E7%A8%8B/ https://blog.csdn.net/Winterto1990/article/details/48102005 阅读全文
posted @ 2018-10-24 18:53 bug_x 阅读(135) 评论(0) 推荐(0)
 
摘要: l = [1,2,3,4] b = [4,5,6] l.remove(1) #val del l[0] #key new_list = l.extend(b) #[1,2,3,4,4,5,6] new_list = l.append('a') #[1,2,3,4,'a'] 阅读全文
posted @ 2018-10-24 12:14 bug_x 阅读(112) 评论(0) 推荐(0)
 
摘要: eg1: 阅读全文
posted @ 2018-10-24 12:12 bug_x 阅读(534) 评论(0) 推荐(0)
 
摘要: resp = requests.get(url) resp.encoding = 'utf-8' answer_list = [] if resp: bs_data = BeautifulSoup(resp.text, 'lxml') 阅读全文
posted @ 2018-10-24 10:10 bug_x 阅读(149) 评论(0) 推荐(0)
 

2018年10月22日

摘要: resp = requests.get(url) ###### resp 属性: status_code text is_redirect encoding url ########## 阅读全文
posted @ 2018-10-22 22:44 bug_x 阅读(150) 评论(0) 推荐(0)
 
摘要: engine : {‘c’, ‘python’}, optional Parser engine to use. The C engine is faster while the python engine is currently more feature-complete. 1、 iterato 阅读全文
posted @ 2018-10-22 11:33 bug_x 阅读(360) 评论(0) 推荐(0)
 

2018年10月19日

摘要: https://blog.csdn.net/TiffanyRabbit/article/details/76574009?utm_source=blogxgwz24 阅读全文
posted @ 2018-10-19 11:49 bug_x 阅读(105) 评论(0) 推荐(0)
 

2018年10月18日

摘要: import json json_value_tmp= json.loads(json_data) # api return value for data in json_value_tmp: a = data['name'] #json getdata from json file import 阅读全文
posted @ 2018-10-18 23:19 bug_x 阅读(125) 评论(0) 推荐(0)
 
摘要: Python Try: Except https://docs.python.org/3/tutorial/errors.html 阅读全文
posted @ 2018-10-18 23:16 bug_x 阅读(279) 评论(0) 推荐(0)
 
上一页 1 ··· 22 23 24 25 26 27 28 29 30 ··· 43 下一页