Skip to content

Instantly share code, notes, and snippets.

@wilk85
Created August 19, 2017 15:59
Show Gist options
  • Save wilk85/d32d783652173dae6698da0a46b190e2 to your computer and use it in GitHub Desktop.
Save wilk85/d32d783652173dae6698da0a46b190e2 to your computer and use it in GitHub Desktop.
ip
import subprocess
#import time
for ping in range (30,36):
ipek = "192.168.0." + str(ping)
subprocess.call(["ping", ipek])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment