Skip to content

Instantly share code, notes, and snippets.

@dlo
Forked from anonymous/gist:4331127
Created December 18, 2012 19:34
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 dlo/4331171 to your computer and use it in GitHub Desktop.
Save dlo/4331171 to your computer and use it in GitHub Desktop.
40 random alphanumeric characters in Python
''.join(random.sample(string.letters+string.digits, 40))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment