Created
April 10, 2020 12:14
-
-
Save ChaitanyaBaweja/7f4f5495094091b59cf7ccc8521827ea to your computer and use it in GitHub Desktop.
This file contains hidden or 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
# First import wget python module. | |
import wget | |
# Set up the image URL | |
image_url = "https://cdn.pixabay.com/photo/2020/02/06/09/39/summer-4823612_960_720.jpg" | |
# Use wget download method to download specified image url. | |
image_filename = wget.download(image_url) | |
print('Image Successfully Downloaded: ', image_filename) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment