Skip to content

Instantly share code, notes, and snippets.

@Eddy-Barraud
Created September 21, 2018 18:50
Show Gist options
  • Save Eddy-Barraud/4c5055628fa3f5fe15258af3d17616a9 to your computer and use it in GitHub Desktop.
Save Eddy-Barraud/4c5055628fa3f5fe15258af3d17616a9 to your computer and use it in GitHub Desktop.
generate a random alphanumeric string with 16 keys
## generate a random alphanumeric string with 16 keys
import random, string
x = ''.join(random.choices(string.ascii_letters + string.digits, k=16))
print(x)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment