会员
众包
新闻
博问
闪存
云市场
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
狼鸽
博客园
首页
新随笔
联系
订阅
管理
2017年5月19日
Python3 模拟用户密码输入三次错误后锁定
摘要: #locklist.txt模拟锁定用户列表 格式如下 #user1 #user2 #userlist.txt模板注册用户列表 格式如下 # user1:password1 # user2:password2 #初始化输入次数 count = 0 while True: #获取用户输入 username = input("Input your username:") ...
阅读全文
posted @ 2017-05-19 17:41 狼鸽
阅读(453)
评论(0)
推荐(0)
编辑
公告