I am trying to create a list of active IPs in the LAN using Python. I have tried the following code (which was suggested by someone else) but it does not output any Hosts: