Wednesday, December 30, 2015

python unix style pathname pattern expansion

import glob

 for imagePath in glob.glob('faces/*.jpg'):
     if imagePath.endsWith('.jpg'):
         continue

No comments:

Blog Archive