Skip to content

Instantly share code, notes, and snippets.

@urjeetpatel
Forked from bergantine/gist:1119284
Last active April 19, 2022 18:27
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save urjeetpatel/60cee1e7dc509ead24e99f70de3b5bd7 to your computer and use it in GitHub Desktop.
Save urjeetpatel/60cee1e7dc509ead24e99f70de3b5bd7 to your computer and use it in GitHub Desktop.
Python Random Password Generator (One Liner). #python #password
python -c "LENGTH=15;from secrets import choice;from string import printable; print(''.join([choice(printable.strip()) for i in range(LENGTH)]))"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment