Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/usr/bin/python
- # password generator made by Adm1n_0v3rride
- import string, random
- def displayWelcome():
- print ("welcome to Adm1n's password Generator v1.0")
- print ""
- def passwordLength():
- string = raw_input("How long do you want your password to be: ")
- print ""
- def generatePassword(num):
- password = ''
- for n in range(num):
- x = random.randint(10,34)
- password += string.printable[x]
- return password
- print generatePassword()
Add Comment
Please, Sign In to add comment