title: Running Ping Sweep Python Script Faster
body: <p>I'm trying to run ping sweep over a specific network using pyping module and it works fine, but very slow. How can I make it run faster?</p>
  
  <pre><code>import pyping
  
  Network="127.0.0."
  for i in range(1,21):
      IP=Network+str(i)
      response = pyping.ping(IP)
      if response.ret_code == 0:
          print(IP)
  </code></pre>