title: How to get Fping Result out of terminal
body: <p>I am using this command to get output:</p>
  
  <pre><code>command_fping = ["fping", 'wikipedia.org','-c 3']
  p = subprocess.check_output(command_fping)
  print("P is,",p)
  </code></pre>
  
  <p>Now what it shows on the terminal is this:  </p>
  
  <pre><code>wikipedia.org : xmt/rcv/%loss = 3/3/0%, min/avg/max = 343/347/351
  ('P is,', 'wikipedia.org : [0], 96 bytes, 351 ms (351 avg, 0% loss)\nwikipedia.org : [1], 96 bytes, 349 ms (350 avg, 0% loss)\nwikipedia.org : [2], 96 bytes, 343 ms (347 avg, 0% loss)\n')
  </code></pre>
  
  <p>I need to access the first output line.</p>
  
  <pre><code>"wikipedia.org : xmt/rcv/%loss = 3/3/0%, min/avg/max = 343/347/351" &lt;-- This line!
  </code></pre>
  
  <p>How do I do that?</p>