Skip to content

Instantly share code, notes, and snippets.

@bergantine
Last active June 4, 2022 16:42
Show Gist options
  • Save bergantine/1119284 to your computer and use it in GitHub Desktop.
Save bergantine/1119284 to your computer and use it in GitHub Desktop.
Python Random Password Generator (One Liner). #python #password
python -c "from random import choice; print ''.join([choice('abcdefghijklmnopqrstuvwxyz0123456789%^*(-_=+)') for i in range(32)])"
@urjeetpatel
Copy link

Updated for python 3.6

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment