Checking if the computer is online

Daniel Klein danielk at aracnet.com
Thu Sep 18 16:18:34 CEST 2003


On Thu, 18 Sep 2003 09:16:03 +0300 (EEST), Mickel Grönroos
<mickel at csc.fi> wrote:

>I have a silly question. Is there are simple way to check if the computer
>is connected to the Internet? It seems this should be a pretty

 'ping external_ipaddress' would be worth looking into. I'm not sure
if a computer can recognize its own ip when it's disconnected as I
haven't really tried it.

Daniel Klein




More information about the Python-list mailing list