Created
January 10, 2018 22:49
-
-
Save TutorialDoctor/4e32403b0c6707d6d787eb5d45c8e0f4 to your computer and use it in GitHub Desktop.
Generated alphanumeric passwords with special characters with this python script
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import string | |
from random import * | |
characters = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789" | |
password = "".join(choice(characters) for x in range(randint(8, 10))) | |
#print password | |
for x in range (151): | |
i = "".join(choice(characters) for x in range(randint(8, 10))) | |
with open("passwords.txt","a") as outfile: | |
outfile.write(i+"\n") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment