def ipScan(self): scanner = myFuns.ipScan() scanner.scan()
def ping(addr): ping = myFuns.ipScan() ping.ping(addr)