def METHOD_NAME():
    # environment info
    is_virtualenv = "VIRTUAL_ENV" in os.environ
    # operating system info
    def linux_distribution():
        try:
            return platform.linux_distribution()
        except:
            return "N/A"
    # operating system info
    def platform_dist():
        try:
            return platform.dist()
        except:
            return "N/A"
    print(
        """Python:
    sys.executable: %s
    virtualenv: %s
    version: %s
    dist: %s
    linux_distribution: %s
    system: %s
    machine: %s
    platform: %s
    version: %s
    mac_ver: %s
    win32_ver: %s
    """
        % (
            sys.executable,
            is_virtualenv or "no",
            " ".join(sys.version.split("\n")),
            str(" ".join(platform_dist())),
            " ".join(linux_distribution()),
            platform.system(),
            platform.machine(),
            platform.platform(),
            platform.version(),
            platform.mac_ver(),
            platform.win32_ver(),
        ),
    )