def make_conf(length=8, chars=(string.ascii_uppercase + string.digits)):
    return ''.join((random.choice(chars) for x in range(length)))
def make_conf(length=8, chars=(string.ascii_uppercase + string.digits)):
    return .join((random.choice(chars) for x in range(length)))