Multiple ping script in Python
Try subprocess.call. It saves the return value of the program that was used. According to my ping manual, it returns 0 on success, 2 when pings were sent but no reply was received and any other value indicates an error. # typo error in import import subprocess for ping in range(1,10): address = “127.0.0.” + … Read more