def save_images_to_file()

in hack/images/update_image_list.py [0:0]


def save_images_to_file(images, file_path):
    """Save images to a text file, one per line."""
    with open(file_path, 'w') as file:
        for image in images:
            file.write(f"{image}\n")
    print(f"Saved {len(images)} unique images to {file_path}")