Generation

generate functionSun, 29 Jan 2023

jede ip Adresse im Netzwerk pingen

import subprocess def ping_ip_address(ip_address): # -n : number of echo requests to send # -w : timeout in milliseconds to wait for each reply return subprocess.call(['ping', '-n', '1', '-w', '500', ip_address])

Questions about programming?Chat with your personal AI assistant