<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Ciao,<br>
    puoi anche usare pexpect
<a class="moz-txt-link-freetext" href="http://stackoverflow.com/questions/1151897/how-can-i-perform-a-ping-or-traceroute-in-python-accessing-the-output-as-it-is">http://stackoverflow.com/questions/1151897/how-can-i-perform-a-ping-or-traceroute-in-python-accessing-the-output-as-it-is</a><br>
    <br>
    Buona serata<br>
    <br>
    Il 24/10/2012 18:34, Balan Victor ha scritto:
    <blockquote
cite="mid:CAOjKAOayEsv8_oOu6D=-KckOUb5g=YbTrO7UffX--T4NvL+Tfw@mail.gmail.com"
      type="cite">io ho trovato <a moz-do-not-send="true"
        href="https://github.com/jedie/python-ping/blob/master/ping.py">https://github.com/jedie/python-ping/blob/master/ping.py</a> e
      questo <a moz-do-not-send="true"
        href="http://www.g-loaded.eu/2009/10/30/python-ping/">http://www.g-loaded.eu/2009/10/30/python-ping/</a> ...
      però non so se vanno bene ..
      <div>
        <br>
      </div>
      <div><br>
      </div>
      <div>ma una curiosità ... a che ti server pingare un sito web? di
        solito si ping un server, un apparato di rete. Per un sito web
        non è più logico fare una get http e controllare il return code
        200<br>
        <br>
        <div class="gmail_quote">Il giorno 24 ottobre 2012 18:13, Remo
          The Last <span dir="ltr"><<a moz-do-not-send="true"
              href="mailto:py.remothelast@yahoo.it" target="_blank">py.remothelast@yahoo.it</a>></span>
          ha scritto:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">
            <div>
              <div style="font-size:12pt;font-family:times new roman,new
                york,times,serif">
                <div>buonasera,</div>
                <div>mi sto perdendo sulla rete per trovare un modulo in
                  python che mi permetta di effettuare dei semplici ping
                  a dei dispositivi remoti.</div>
                <div><br>
                </div>
                <div
                  style="font-style:normal;font-size:16px;background-color:transparent;font-family:times
                  new roman,new york,times,serif">Praticamente ho
                  trovato dalla costruzione del pacchetto e suo invio,
                  fino all'uso di chiamate a sistema, ma non riesco a
                  trovare un modulo che mi faccia 'pingare' facilmente
                  un sito. <br>
                </div>
                <div
                  style="font-style:normal;font-size:16px;background-color:transparent;font-family:times
                  new roman,new york,times,serif"><br>
                </div>
                <div
                  style="font-style:normal;font-size:16px;background-color:transparent;font-family:times
                  new roman,new york,times,serif">
                  Ho installato ping-0.1 ma non riesco a trovare un
                  esempio o un help che mi permetta di usarlo
                  all'interno dei miei programmi.</div>
                <div
                  style="font-style:normal;font-size:16px;background-color:transparent;font-family:times
                  new roman,new york,times,serif">
                  Sapete aiutarmi?</div>
                <div
                  style="font-style:normal;font-size:16px;background-color:transparent;font-family:times
                  new roman,new york,times,serif"><br>
                </div>
                <div
                  style="font-style:normal;font-size:16px;background-color:transparent;font-family:times
                  new roman,new york,times,serif">
                  ciao e grazie</div>
                <div
                  style="font-style:normal;font-size:16px;background-color:transparent;font-family:times
                  new roman,new york,times,serif">py.Re</div>
              </div>
            </div>
            <br>
            _______________________________________________<br>
            Python mailing list<br>
            <a moz-do-not-send="true"
              href="mailto:Python@lists.python.it">Python@lists.python.it</a><br>
            <a moz-do-not-send="true"
              href="http://lists.python.it/mailman/listinfo/python"
              target="_blank">http://lists.python.it/mailman/listinfo/python</a><br>
            <br>
          </blockquote>
        </div>
        <br>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Python mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Python@lists.python.it">Python@lists.python.it</a>
<a class="moz-txt-link-freetext" href="http://lists.python.it/mailman/listinfo/python">http://lists.python.it/mailman/listinfo/python</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>