Created
September 21, 2018 18:50
-
-
Save Eddy-Barraud/4c5055628fa3f5fe15258af3d17616a9 to your computer and use it in GitHub Desktop.
generate a random alphanumeric string with 16 keys
This file contains hidden or 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
## 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