# loop over the images for filename in images_filenames: # download the image image = download_image(filename) # resize the image resize_image(image) # upload the image upload_image(image)