Is this a good way to check for Internet connection in python? As far as I know I shouldn\'t use bare exceptions.
import urllib.request import time def conn