Last active
September 6, 2018 08:06
-
-
Save dsaiztc/2d0e70b7826b326d5daca88d6d3bdede to your computer and use it in GitHub Desktop.
This file contains 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 | |
import random | |
chars = string.ascii_letters + string.digits + string.punctuation | |
chars = string.ascii_letters + string.digits | |
pwd_length = 16 | |
''.join((random.choice(chars)) for x in range(pwd_length)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment