11 2019 档案

摘要:import csv,re#打开wsx.csv文件,为了后面写入做准备with open("wsx.csv", "w", encoding="utf-8", newline='') as w: #newline='',这个参数的作用是防止生成的csv隔一行空一行,如果没有这个参数,csv文件汇总就会 阅读全文
posted @ 2019-11-28 21:32 乔儿 阅读(456) 评论(0) 推荐(0) 编辑
摘要:import remobile = '18312423454'MOBILE = "^1[358]\d{9}$|^147\d{8}$|^179\d{8}$"p = re.compile(MOBILE)if p.match(mobile): print(mobile) 阅读全文
posted @ 2019-11-27 20:31 乔儿 阅读(4921) 评论(0) 推荐(0) 编辑
摘要:设置代理ip(电脑ip+端口号),用苹果自带浏览器safari访问chls.pro/ssl, 手机设置→通用→描述文件→ 手机设置→通用→关于本机→证书信任设置→ 阅读全文
posted @ 2019-11-19 14:39 乔儿 阅读(6324) 评论(0) 推荐(1) 编辑
摘要:alter table yjp_app_tokon add status int(2) comment '账号轮询,一天换一个账号' after mcht_id; 说明:alter table + 表名 + add + 要添加的字段 + 字段类型 + comment "0盈利,1亏损" + afte 阅读全文
posted @ 2019-11-19 10:49 乔儿 阅读(6611) 评论(0) 推荐(0) 编辑
摘要:def fact(x): if x == 1: return 1 else: return x * fact(x-1) 阅读全文
posted @ 2019-11-16 10:36 乔儿 阅读(403) 评论(0) 推荐(0) 编辑
摘要:-- 查询所有学生的姓名和性别(条件运算) select stuname as 姓名, case stusex when 1 then '男' else '女' end as 性别 from tb_student; select stuname as 姓名, if(stusex, '男', '女') 阅读全文
posted @ 2019-11-12 11:57 乔儿 阅读(225) 评论(0) 推荐(0) 编辑
摘要:# coding:gbk 阅读全文
posted @ 2019-11-08 15:02 乔儿 阅读(915) 评论(0) 推荐(0) 编辑

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