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

python at bdurham.com python at bdurham.com
Sun Mar 7 21:41:30 EST 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