上一页 1 2 3 4 5 6 ··· 15 下一页
摘要: 参考链接:https://imdigger.com/Python/urlencode_or_urldecode.html 阅读全文
posted @ 2019-10-16 16:27 那时的吻狠陶醉 阅读(1183) 评论(0) 推荐(0) 编辑
摘要: #方法二: 使用eval()进行处理。 阅读全文
posted @ 2019-08-29 19:45 那时的吻狠陶醉 阅读(346) 评论(0) 推荐(0) 编辑
摘要: from dateutil.parser import parse st = parse('2019-08-23 16:24:47') et = parse('2019-08-23 19:24:47') jgt = (et-st).seconds() print(jgt) 阅读全文
posted @ 2019-08-29 11:55 那时的吻狠陶醉 阅读(890) 评论(0) 推荐(0) 编辑
摘要: from decimal import Decimala=134.5657768t=Decimal(“134.5657768”).quantize(Decimal(“0.00”))print(t) 阅读全文
posted @ 2019-08-28 19:31 那时的吻狠陶醉 阅读(282) 评论(0) 推荐(0) 编辑
摘要: 执行这段话报错:SELECT path_md5,path,count(1) FROM aliexpress_hacker_cate GROUP BY path_md5 解决方法: 参考文章:http://www.520sz.com/mysql-5-7-10-group-by-error.html 阅读全文
posted @ 2019-08-28 17:01 那时的吻狠陶醉 阅读(449) 评论(0) 推荐(0) 编辑
摘要: mysql distinct和order by 一起用时,order by的字段必须在select中 阅读全文
posted @ 2019-08-14 11:41 那时的吻狠陶醉 阅读(672) 评论(0) 推荐(0) 编辑
摘要: 第一步: 第二步:打开虚拟机设置 第三步: 编辑ifcfg-ens33文件 vim /etc/sysconfig/network-scripts/ifcfg-ens33 下面是编辑好的图: 注意: 上面这样设置有一个缺陷:ip每次开机都是变化的,得注意。你也可以设置成静态的,如下图: 然后数入ip 阅读全文
posted @ 2019-08-13 11:22 那时的吻狠陶醉 阅读(2814) 评论(0) 推荐(0) 编辑
摘要: 在update使用Like模糊查询时出现报错: sqlalchemy.exc.InvalidRequestError: Could not evaluate current criteria in Python: "Can't evaluate criteria against alternate 阅读全文
posted @ 2019-07-29 14:49 那时的吻狠陶醉 阅读(1500) 评论(0) 推荐(0) 编辑
摘要: CentOS7 的防火墙配置跟以前版本有很大区别,CentOS7这个版本的防火墙默认使用的是firewall,与之前的版本使用iptables不一样 1、关闭防火墙: 2、开启防火墙: 3、关闭开机启动: 4、开启开机启动: ##centos6 存在以下两种方式: 一、service方式 查看防火墙 阅读全文
posted @ 2019-07-25 09:53 那时的吻狠陶醉 阅读(29282) 评论(0) 推荐(0) 编辑
摘要: https://www.jianshu.com/p/fa2527e607b2 阅读全文
posted @ 2019-07-22 16:47 那时的吻狠陶醉 阅读(2236) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 15 下一页