How can I get a list of the IP addresses or host names from a local network easily in Python?
It would be best if it was multi-platform, but it needs to work on Mac
One of the answers in this question might help you. There seems to be a platform agnostic version for python, but I haven't tried it yet.