11 2019 档案

摘要: 阅读全文
posted @ 2019-11-29 22:05 AngDH 阅读(109) 评论(0) 推荐(0) 编辑
摘要:table = doc.xpath("""//table[@class="base_table01 m_T30"]""") 阅读全文
posted @ 2019-11-29 19:13 AngDH 阅读(83) 评论(0) 推荐(0) 编辑
摘要:1.退出redis 2.匹配product开头的所有key*删除 redis-cli -a 你的密码 keys 'product*' | xargs redis-cli -a 你的密码 del ps:密码没有请忽略 3.redis返回删除条数 (integer) 4https://blog.csdn 阅读全文
posted @ 2019-11-29 11:57 AngDH 阅读(4525) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2019-11-28 22:51 AngDH 阅读(190) 评论(0) 推荐(0) 编辑
摘要:redis-cli config set save "" 阅读全文
posted @ 2019-11-28 10:31 AngDH 阅读(520) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2019-11-23 23:41 AngDH 阅读(226) 评论(0) 推荐(0) 编辑
摘要:response = session.get("https://www.eee.com", headers=header) with open("index_page.html", "wb") as f: f.write(response.text.encode("utf-8")) 阅读全文
posted @ 2019-11-21 00:46 AngDH 阅读(704) 评论(0) 推荐(0) 编辑
摘要:import requests try: import cookielib except: import http.cookiejar as cookielib session = requests.session() session.cookies = cookielib.LWPCookieJar 阅读全文
posted @ 2019-11-21 00:45 AngDH 阅读(287) 评论(0) 推荐(0) 编辑
摘要:scrapyd 安装 https://cuiqingcai.com/5445.html 发布 到 scrapyd https://cuiqingcai.com/8491.html pip install scrapyd 安装完毕后,查看scrapyd的配置文件,scrapyd会在如下位置依次查找配置 阅读全文
posted @ 2019-11-19 00:08 AngDH 阅读(535) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2019-11-11 23:50 AngDH 阅读(101) 评论(0) 推荐(0) 编辑
摘要:var ii = 12; if (parseInt(ii) == parseFloat(ii)){ alert("整数"); }else{ alert("小数"); } 阅读全文
posted @ 2019-11-10 21:54 AngDH 阅读(377) 评论(0) 推荐(0) 编辑
摘要:https://blog.csdn.net/u012759006/article/details/82945360 阅读全文
posted @ 2019-11-08 20:12 AngDH 阅读(938) 评论(0) 推荐(0) 编辑
摘要:select * from table sin where FIND_IN_SET('FAL5',CONCAT_WS(',', sin.DISPLAY_NAME,sin.ROUTE_CODE)) -- 查 DISPLAY_NAME 有FAL5 或者 ROUTE_CODE 有 FAL5 阅读全文
posted @ 2019-11-08 20:00 AngDH 阅读(1362) 评论(0) 推荐(0) 编辑
摘要:>>> a = u'\xb2\xe2\xca\xd4' >>> b = a.encode('raw_unicode_escape') >>> print b 测试 >>> c = a.encode('latin1') >>> print c 测试 unicode.encode(text, encod 阅读全文
posted @ 2019-11-08 19:35 AngDH 阅读(338) 评论(0) 推荐(0) 编辑
摘要:// mysql中使用concat连接字符串 select t1.id, t1.title, t2.keyword from t1 inner join t2 on t1.title like concat('%', t2.keyword, '%'); 其它思路:exists(是否存在)、regex 阅读全文
posted @ 2019-11-08 19:23 AngDH 阅读(1362) 评论(0) 推荐(0) 编辑
摘要:update table a, table b set a.filed1= b.field2, a.field2= b.field1where a.id = b.id 阅读全文
posted @ 2019-11-05 21:40 AngDH 阅读(2185) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2019-11-03 10:51 AngDH 阅读(107) 评论(0) 推荐(0) 编辑

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