简易版: #!/usr/bin/env python # _*_ coding:UTF-8 _*_ # __auth__:Dahlhin import sys userinfo = r'userinfo.txt' userlock = r'userlock.txt' def user_exist_check(user): '''检查用户是否存在''' with open(userinfo) as fd: for info in fd: if user == info.strip().split(
#improt time module for count down puase time import time #set var for loop counting counter=1 #login setting while counter<=3: print('please enter username: ') username=input() print('please enter password: ') password=input() #dict for username and