demo_requests_get_timeout.py:
C:\Users\My Name>python demo_requests_get_timeout.py
Connection to w3schools.com timed out. (connect timeout=0.001)