Created
March 27, 2018 05:01
-
-
Save parzibyte/99784144d14d687eddf0669e7d5d01a2 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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