Python Internet availability – ZTATZ
This Python code snippet gives you a solution when you need to check if your Python application can reach the Internet. You can always check if an Internet website is responding with urllib.request.urlretrieve. For instance, www.google.com. I have found this is not always reliable or even lock up the program. A more reliable method is … Read More Read More