demo_requests_response_raise_for_status.py:
C:\Users\My Name>python demo_requests_response_raise_for_status.py
Traceback (most recent call last):
  File "demo_request_response_raise_for_status.py", line 7, in <module>
    print(x.raise_for_status())
  File "C:\Users\MyName\AppData\Local\Programs\Python\Python36-32\lib\site-packages\requests\models.py", line 940, in raise_for_status
    raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 404 Client Error: Not Found for url: https://www.w3schools.com/python/demopagdddddd.htm