Re: [Tutor] How to check online status

2008-11-03 Thread W W
On Mon, Nov 3, 2008 at 9:54 AM, Timmie <[EMAIL PROTECTED]> wrote: > Dear fellow Pythonistas, > is it possible to check with Python whether a computer is connected to the > internet or not? Yes. That's the short answer anyway. > I don't not find a module which can do such a thing like 'ping'?

Re: [Tutor] How to check online status

2008-11-03 Thread Tim Golden
Timmie wrote: Dear fellow Pythonistas, is it possible to check with Python whether a computer is connected to the internet or not? You've got several options. The simplest, cross-platform solution is to connect a socket to a known port on a known server with a timeout and see if it connects. Bu

[Tutor] How to check online status

2008-11-03 Thread Timmie
Dear fellow Pythonistas, is it possible to check with Python whether a computer is connected to the internet or not? I don't not find a module which can do such a thing like 'ping'? And how do I make my python scipts that use urllib to recognize the windows operating system proxy settings? Thank