Skip to content

Instantly share code, notes, and snippets.

@MisterPhoton
Created November 13, 2018 22:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save MisterPhoton/e67aef8cefce705b190ec712e63dca55 to your computer and use it in GitHub Desktop.
Save MisterPhoton/e67aef8cefce705b190ec712e63dca55 to your computer and use it in GitHub Desktop.
HERE'S YOUR RANDOM STRING GENERATOR, ALYSA.
import string
import random
def id_generator(size=11, chars=string.ascii_uppercase + ' '):
return ''.join(random.choice(chars) for _ in range(size))
print id_generator()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment