This document describes how to check internet connectivity using Python. It discusses four different methods - httplib, urllib, requests and ping - to check connectivity. For the httplib method, it provides code to define a function that takes in a URL and timeout as parameters. The function makes a HEAD request to the URL and returns True if successful or False if an exception is raised.