Created
July 16, 2014 04:17
-
-
Save dirn/f2e343d92786a76a35eb to your computer and use it in GitHub Desktop.
PyGotham discount code generator
This file contains 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
import random | |
import string | |
characters = string.ascii_letters + string.digits | |
s = set() | |
while len(s) < 200: | |
s.add(''.join(random.choice(characters) for _ in range(6))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment