Skip to content

Instantly share code, notes, and snippets.

@jxu
Created September 13, 2019 22:17
Show Gist options
  • Save jxu/6e391ffea88df146c9b69a65567ec561 to your computer and use it in GitHub Desktop.
Save jxu/6e391ffea88df146c9b69a65567ec561 to your computer and use it in GitHub Desktop.
simple password generator
import string, random
pool = string.ascii_letters + string.digits
print(''.join(random.choices(pool, k=16)))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment