Best practice way to detect internet connectivity under Python 2.6/Windows

python at bdurham.com python at bdurham.com
Mon Mar 8 03:41:30 CET 2010


Is the best pratice way to detect internet connectivity under
Windows (using Python 2.6) simply to attempt to access a known
internet website using urllib or urlib2 wrapped in a try/except
construct?

Thank you,
Malcolm
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20100307/8278ed64/attachment.html>


More information about the Python-list mailing list