I am trying to create a utility to visualize if a set of IPs in my local network are up using python. I stumbled into a problem right away, because my plan was to use something like:
isup=os.system("ping IP")
And than depending on the value of isup
I would either display that the host is online, or offline, but no matter which it is, only 0 is constantly being returned. I am using win7, and I would like to do this in python. Any help is highly appreciated!
Edit: Please stop flagging this as a duplicate, the solutions in that question are either for Linux or python 2.x.