Testing for connection to a website

Jordan JordanNealBerg at gmail.com
Tue Jul 15 21:47:49 CEST 2008


On Jul 15, 3:43 pm, Alexnb <alexnbr... at gmail.com> wrote:
> Okay, I already made this post, but it kinda got lost. So anyway I need to
> figure out how to test if the user is able to connect to a specific website.
> Last time I got pointed to the urllib2 page, but if I do urlopen() and and
> am not connected, the program stops. So I don't know if that was what you
> guys wanted me to do, but I don't think so, you guys are smarter than that.
> So, how can I test for connection to a website.
> --
> View this message in context:http://www.nabble.com/Testing-for-connection-to-a-website-tp18473382p...
> Sent from the Python - python-list mailing list archive at Nabble.com.

Ping it? ~_^



More information about the Python-list mailing list