Created
February 22, 2013 18:14
-
-
Save joshkunz/5015438 to your computer and use it in GitHub Desktop.
Get all possible 3 tuple combinations of a-z2-9.
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
from itertools import product | |
import string | |
id_combos = product("".join((string.ascii_lowercase, string.digits[2:])), repeat=3) | |
ids = map("".join, id_combos) | |
print len(ids), "ids found." |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment