INNER CODE UNIT · Python

removed

magicsword-io/LOLRMM · bin/generate_domains_csv.py:101

    removed = len(all_domains) - len(unique_domains)
    print(
        f"CSV file generated at {output_file} with {len(unique_domains)} domains "
        f"({removed} duplicate rows removed)"
    )
    return len(unique_domains)


if __name__ == "__main__":
    yaml_dir = os.path.join(
        os.path.dirname(os.path.dirname(os.path.abspath(__file__))), "yaml"
    )
    output_dir = os.path.join(
        os.path.dirname(os.path.dirname(os.path.abspath(__file__))),
        "website",
        "public",
        "api",
    )

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…