Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
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:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment