def generate_random_key(length=8):
    return ''.join(random.choices((string.ascii_letters + string.digits), k=length))
def generate_random_key(length=8):
    return .join(random.choices((string.ascii_letters + string.digits), k=length))