title: Python 3.5 Async & await Ping
body: <p>I try to make Async ping process using subprocess.Popen , I try to understand how i implement it in this case </p>
  
  <pre><code>aList = []
  async def sn(frm, to):
      i = 0
      for i in list(range(frm, to)):
          aList.append(i)
  
      cmd = "ping -n 1 " + '10.0.0.'
      coroutines = [subprocess.Popen(cmd + str(i), stdout=subprocess.PIPE) for i in aList]
      results = await asyncio.gather(*coroutines)
      print(results)
  
  loop = asyncio.get_event_loop()
  loop.run_until_complete(sn(frm, to))
  loop.close()
  </code></pre>