Remind me to update my interests.
View All Friends
sumnerd
paladin...
Silent ...
redrudy13
View All Comments
Posts per Day: 0.00
Total Posts: 0
You currently have zero playlists!
Comments
View All Comments
char_list1 = ["A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z"]
char_list2 = ["!", "@", "#", "$", "%", "^", "&", "*", "=", "|", "{"]
char_list3 = ["1", "2", "3", "4", "5", "6", "7", "8", "9", "0"]
char_list4 = ["a", "b", "c", "d", "e", "f", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z"]
pwd_length_entry = input("Password length: " wink
while pwd_length_entry <6 or pwd_length_entry > 12:
print "paswword entry must be between 6 and 12 digits"
pwd_length_entry = input("Password length: " wink
x=[1,2,3,4]
counter = 1
password = ""
import random
while counter <= pwd_length_entry:
x2=random.choice(x)
if x2==1:
pwd_char=random.choice(char_list1)
password += pwd_char
counter += 1
if x2==2:
pwd_char=random.choice(char_list2)
password += pwd_char
counter += 1
if x2==3:
pwd_char=random.choice(char_list3)
password += pwd_char
counter += 1
if x2==4:
pwd_char=random.choice(char_list4)
password += pwd_char
counter += 1
print password
#test password
print "----------Test Password----------"
user_password_entry = raw_input("Enter password: " wink
if user_password_entry == password:
print "welcome to the world of tomorrow!"
while user_password_entry != password:
print "incorrect password."
user_password_entry = raw_input("Enter password: " wink