«
Checking the current directory for progressive JPEGs
»
This is a quick hack, you'll need PIL with JPEG support installed to use it.
import glob, Image print 'n'.join([fn for fn in glob.glob('*.jpg') if Image.open(fn).info.get('progression')])