# ---
# jupyter:
#   jupytext:
#     text_representation:
#       extension: .py
#       format_name: light
#       format_version: '1.5'
#       jupytext_version: 1.14.4
#   kernelspec:
#     display_name: Python 3
#     language: python
#     name: python3
# ---

import requests

URL = 'https://econpy.pythonanywhere.com/ex/001.html'

response = requests.get(URL)
if response.status.code == 200:
    content = response.text # str
    with open ('econpy.html', w+) as file:
        file.write(content)

StarcoderdataJupyterScriptsDedupFiltered