def reddit_id(length=6):
    return ''.join(random.choice(string.ascii_lowercase +
                   string.digits) for x in range(length))
Emulate a reddit id with a random string of letters and digits
dataset/ETHPy150Open renfredxh/compilebot/compilebot/tests/helpers.py/reddit_id