06 2019 档案

摘要:将python脚本打包成exe文件:命令:pyinstaller --paths="该脚本的路径" guess_exe.py 阅读全文
posted @ 2019-06-26 17:56 那时的吻狠陶醉 阅读(243) 评论(0) 推荐(0)
摘要:首先在这里先介绍下统计函:最晚时间:=MAX(IF($A$2:$A$99=C2,$B$2:$B$99)) 最早时间:=MIN(IF($A$2:$A$99=C2,$B$2:$B$99)) 例子:链接:https://jingyan.baidu.com/article/fdffd1f84d335df3e 阅读全文
posted @ 2019-06-19 10:45 那时的吻狠陶醉 阅读(781) 评论(0) 推荐(0)
只有注册用户登录后才能阅读该文。
posted @ 2019-06-17 18:09 那时的吻狠陶醉 阅读(6) 评论(0) 推荐(0)
摘要:1.scrapy中的xpath:直接是response.xpath 就是可以,例如: 倘若不加 extract() 的话 就只能得到html源代码了,而得不到你想要的文本,所以得加上。 2.lxml中的xpath,首先需要导入个etree包才能使用xpath 然后: 但是有时候咱们不想单纯的直接获取 阅读全文
posted @ 2019-06-17 15:41 那时的吻狠陶醉 阅读(1545) 评论(0) 推荐(0)
摘要:举例: 合并两个字典得到: 方法1: 方法2: 方法 2 等同于: 或者 方法 2 比方法 1 速度快很多, 可以用 IPython 测试效率。来自:https://blog.csdn.net/u010649766/article/details/78661714 阅读全文
posted @ 2019-06-17 15:22 那时的吻狠陶醉 阅读(1165) 评论(0) 推荐(1)
摘要:参考链接:https://www.cnblogs.com/exmyth/p/7868582.html 阅读全文
posted @ 2019-06-17 09:29 那时的吻狠陶醉 阅读(717) 评论(0) 推荐(0)
摘要:a = '15cm x 11cm x 4cm (5.91in x 4.33in x 1.57in)' s = re.findall('(\d+|\d.\d+|0\.\d+)cm',a) print(s) 阅读全文
posted @ 2019-06-12 17:22 那时的吻狠陶醉 阅读(819) 评论(0) 推荐(0)
摘要:select id,job_id,start_time,end_time,update_time,sum(TIMESTAMPDIFF(SECOND,start_time,end_time)) time from walmart_rank_tool_job_detail WHERE status in (3,4) and update_time like "2019-06-04%" ... 阅读全文
posted @ 2019-06-05 15:46 那时的吻狠陶醉 阅读(1334) 评论(0) 推荐(0)