摘要:
db_path='db.txt' def get_uname(): while True: uname=input('请输入用户名:').strip() if uname.isalpha(): with open(r'%s' %(db_path),'r',encoding='utf-8') as f 阅读全文
摘要:
db_path='db.txt' #定义默认文件路径,方便修改 def get_uname(): while True: uname=input('请输入用户名:').strip() if uname.isalpha(): with open(r'%s' %(db_path),'r',encodin 阅读全文