Checking if the computer is online

Gerhard Häring gh at ghaering.de
Thu Sep 18 02:53:37 EDT 2003


Mickel Grönroos wrote:
> Hi all,
> 
> I have a silly question. Is there are simple way to check if the computer
> is connected to the Internet? [...]

No. You need to craft a platform-specific solution for this task. On 
Windows, I'd look into the RAS stuff in the third-party win32all package.

-- Gerhard





More information about the Python-list mailing list