Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
import requests
url_imagen = "https://golang.org/doc/gopher/appenginegophercolor.jpg" # El link de la imagen
nombre_local_imagen = "go.jpg" # El nombre con el que queremos guardarla
imagen = requests.get(url_imagen).content
with open(nombre_local_imagen, 'wb') as handler:
handler.write(imagen)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment