ok, cool. thanks sk On 4/30/07, Jalil <[EMAIL PROTECTED]> wrote:
ping a host on the net if you get an echo response back you are good. better yet ping the host page you are scraping. On 4/30/07, shawn bright < [EMAIL PROTECTED]> wrote: > > 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 > > _______________________________________________ > Tutor maillist - Tutor@python.org > http://mail.python.org/mailman/listinfo/tutor > >
_______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor