Created
May 2, 2018 14:20
-
-
Save FavioVazquez/efaa901f85b51c77d520595136a2cb52 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 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