随笔分类 -  Python

Python学习
摘要:Python处理日期方法大全、三十种方法 Python中的13个搔操作 快速定位手机号码归属地,数据源下载即刻开启! 阅读全文
posted @ 2023-11-17 09:03 leochan007 阅读(7) 评论(0) 推荐(0) 编辑
摘要:1、打印月历 >>> import calendar>>> cal = calendar.month(2018,1)>>> print(cal) January 2018Mo Tu We Th Fr Sa Su 1 2 3 4 5 6 7 8 9 10 11 12 13 1415 16 17 18 阅读全文
posted @ 2018-09-20 13:11 leochan007 编辑
摘要:IPv4的IP正则匹配表达式 IPv6的正则匹配表达式 阅读全文
posted @ 2018-07-04 15:23 leochan007 编辑
摘要:文件内容 test.txt leo1231 python操作(操作的是在文件写入用户名,密码和输错次数,如果输错次数会加1,且不能超多三次,三次就会自动执行锁定操作) 阅读全文
posted @ 2017-12-29 19:51 leochan007 阅读(258) 评论(0) 推荐(0) 编辑
摘要:1、python的环境搭建 2、给出下载链接地址 3、if和while混合使用age=56count = 0 while count<3: guess_age=int(input("请输入年龄:")) if guess_age == age: print("yes,you got it") brea 阅读全文
posted @ 2017-12-26 19:34 leochan007 阅读(165) 评论(0) 推荐(0) 编辑

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