In [2]:
from PIL import Image
In [7]:
import glob
%pylab inline
Populating the interactive namespace from numpy and matplotlib
In [8]:
pngs = sorted(glob.glob('pngs/*aforthma*.png'))
for png in pngs:
    print(png)
    img = Image.open(png)
    imshow(img)
    break
pngs/000_20170329_aforthma__0.png
In [ ]: