import urllib.request
response = urllib.request.urlopen('https://placekitten.com/g/800/600')
img = response.read()
with open('cat.jpg', 'wb') as f:
    f.write(img)

c1df3bc5e5f5aa1c9ac7e864eb90424713ed4729
<mask token>

<mask token>
with open('cat.jpg', 'wb') as f:
    f.write(img)

<mask token>
response = urllib.request.urlopen('https://placekitten.com/g/800/600')
img = response.read()
with open('cat.jpg', 'wb') as f:
    f.write(img)

import urllib.request
response = urllib.request.urlopen('https://placekitten.com/g/800/600')
img = response.read()
with open('cat.jpg', 'wb') as f:
    f.write(img)
