def random_word()

in tools/url-checker/create_test_files.py [0:0]


def random_word(length=8):
    """Generate a random word of specified length."""
    return ''.join(random.choice(string.ascii_lowercase) for _ in range(length))