import numpy as np from PIL import Image
for curr_im in f.readlines(): # Loop through file with names of image files
print(curr_im) #print name of image file
with Image.open(os.path.join)https://imagizer.imageshack.com/img585/8488/bugoo.jpg) as z:
z.show() # Show image
zz=np.asarray(z)
print(zz.max(), zz.min(), zz.dtype, zz.shape) # Verify something has been read
x=input("Pause")