Skip to content

Instantly share code, notes, and snippets.

@FavioVazquez
Created May 2, 2018 14:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save FavioVazquez/efaa901f85b51c77d520595136a2cb52 to your computer and use it in GitHub Desktop.
Save FavioVazquez/efaa901f85b51c77d520595136a2cb52 to your computer and use it in GitHub Desktop.
import IPython.display as dp
# collect all .png files in ssample dir
fs = !ls flower_photos/sample/*.jpg
# create list of image objects
images = []
for ea in fs:
images.append(dp.Image(filename=ea, format='png'))
# display all images
for ea in images:
dp.display_png(ea)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment