def internet_on(self):
    
    try:
      stri = "https://duckduckgo.com" # Checks connection with duckduckgo
      data = urllib.urlopen(stri)
      return True
    except:
      return False
Checks Inet connection
dataset/ETHPy150Open jgilhutton/pyxiewps_WPShack-Python/pyxiewps-EN.py/Config.internet_on