[IPython-User] Calling 'Image' several times in the same cell
Tue Nov 13 14:18:34 CST 2012
Working in the notebook (on a recent github HEAD), I am trying to loop over
a list of png file names and call Image on each one of them so that the
output of that cell would ideally look something like:
I am doing that by calling the following code:
from IPython.display import Image
for l in os.listdir('.'):
But I am getting no output. In a following cell, I just do:
And that works just fine - I get a display of the last file in that list.
Any ideas? Thanks in advance!
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the IPython-User