These are chat archives for ipython/ipython

Jan 2016
Gregory Nwosu
Jan 28 2016 11:57
im trying to display an image within a python notebook
i have the filename, and my code is as follows

import IPython.display as display

for image in os.listdir(folder):

indentation aside, does this look right?, the image is a png and im on macosx
Thomas Kluyver
Jan 28 2016 13:17
@gregnwosu display.Image() creates a displayable image object. You'll need to call IPython.display.display() to actually show it.
Gregory Nwosu
Jan 28 2016 14:24