[Tutor] best way to tell if i am connected to the internet

shawn bright nephish at gmail.com
Tue May 1 00:13:58 CEST 2007


hello there all,

i am wondering, what would be the simplest way to get a true/false
am i connected to the internet ?

right now i am using httplib to fetch a webpage every 20 minutes to see, but
i am thinking that there is a better way,

any suggestions would be encouraging

thanks
shawn
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/tutor/attachments/20070430/62431414/attachment.htm 


More information about the Tutor mailing list