01 2018 档案
摘要:#输入数字,产生对应条数的密码,包括数字,大写字母,小写字母import random,stringcount = input('请输入你要产生多少条密码:').strip()count=int(count)passwds = []f=open('passwds.txt','a+')for i in
阅读全文
摘要:改之前: #登陆,从user_info.txt中验证count=1#print(count)f = open('user_info.txt','a+')f.seek(0)user_info = f.read()while count<=3: name = input("请输入您的姓名:").stri
阅读全文
摘要:#写一个注册,用户密码存到文件中(之前)username = input('请输入你的用户名:').strip()pwd = input('请输入你的密码:').strip()pwd2 = input('请再次确认你的密码:').strip()f = open('user_info.txt','a+
阅读全文
摘要:>>> seq1 = ['hello','good','boy','doiido'] >>> print ' '.join(seq1) hello good boy doiido >>> print ':'.join(seq1) hello:good:boy:doiido random.sample
阅读全文
浙公网安备 33010602011771号