Created
November 10, 2011 06:51
-
-
Save nigelbabu/1354292 to your computer and use it in GitHub Desktop.
Generate random password
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
#!/usr/bin/python | |
import string | |
from random import choice | |
print ''.join([choice(string.letters + string.digits + string.punctuation) for i | |
in range(15)]) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment