#network availability check script
import os
print ("This is a network availability checker script\n")
ip_check = input("Please enter host IP or URL, sparated by space and press Enter\n").split()
for ip in ip_check:
response = os.popen (f"ping {ip}").read()
if " Received = 4" in response:
print (f"HOST IS UP {ip} Ping was Successful")
else:
print (f"HOST IS DOWN {ip} Ping was Unsuccessful")
print ("\nThank you and have a nice day!")
En esta página del sitio puede ver el video en línea Simple python script for network availability check with Ping Verification de Duración hora minuto segunda en buena calidad , que subió el usuario CP Breeze Tech 13 agosto 2022, comparta el enlace con amigos y conocidos, en youtube este video ya ha sido visto 302 veces y le gustó 4 a los espectadores. Disfruta viendo!