Answers for "check if host is reachable python"

0

check if host is reachable python

HOST_UP  = True if os.system("ping -c 1 " + SOMEHOST) is 0 else False
Posted by: Guest on July-05-2020

Python Answers by Framework

Browse Popular Code Answers by Language