Last active
June 4, 2022 16:42
-
-
Save bergantine/1119284 to your computer and use it in GitHub Desktop.
Python Random Password Generator (One Liner). #python #password
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
python -c "from random import choice; print ''.join([choice('abcdefghijklmnopqrstuvwxyz0123456789%^*(-_=+)') for i in range(32)])" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Updated for python 3.6
https://gist.github.com/violentmagician/60cee1e7dc509ead24e99f70de3b5bd7