On Mon, Apr 6, 2009 at 3:44 PM, r-w <r...@inet.net.au> wrote:
> If no internet connection:

Try loading http://example.com using urllib
(http://docs.python.org/library/urllib.html).
If an exception gets raised, you're not connected (properly).

Cheers,
Chris

-- 
I have a blog:
http://blog.rebertia.com
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to