#!/usr/bin/env python3
"""
Скачать файл по ссылке и положить на диск
"""

import shutil
from urllib.request import urlopen

URL = 'http://my.bubujka.org'
with urlopen(URL) as src, open("_tmp/index.html", "wb") as out:
    shutil.copyfileobj(src, out)



885e90a20a0b27d550518e95a65b31e189928c1f
<mask token>

<mask token>
with urlopen(URL) as src, open('_tmp/index.html', 'wb') as out:
    shutil.copyfileobj(src, out)

<mask token>
URL = 'http://my.bubujka.org'
with urlopen(URL) as src, open('_tmp/index.html', 'wb') as out:
    shutil.copyfileobj(src, out)

<mask token>
import shutil
from urllib.request import urlopen
URL = 'http://my.bubujka.org'
with urlopen(URL) as src, open('_tmp/index.html', 'wb') as out:
    shutil.copyfileobj(src, out)

#!/usr/bin/env python3
"""
Скачать файл по ссылке и положить на диск
"""

import shutil
from urllib.request import urlopen

URL = 'http://my.bubujka.org'
with urlopen(URL) as src, open("_tmp/index.html", "wb") as out:
    shutil.copyfileobj(src, out)


