12 2019 档案

摘要:查询全部的记录: select * from test_limit ; 查第一条记录: select * from test_limit limit 1; 查前面两条记录: select * from test_limit limit 0,2; 查第二和第三条记录: select * from te 阅读全文
posted @ 2019-12-23 17:38 一颗吃不完的糖 阅读(17537) 评论(0) 推荐(2) 编辑
摘要:八成是丢失连接了 while 1: try: self.conn.ping(reconnect=True) self.cur.execute(sql,tuple(item.values())) self.conn.commit() break except Exception as e: print 阅读全文
posted @ 2019-12-17 18:13 一颗吃不完的糖 阅读(1853) 评论(0) 推荐(0) 编辑
摘要:如果在运行爬虫时报此错:requests.exceptions.SSLError: HTTPSConnectionPool(host='www.baidu.com', port=443): Max retries exceeded with url: / (Caused by SSLError("C 阅读全文
posted @ 2019-12-11 16:06 一颗吃不完的糖 阅读(4116) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示