Anyway to use file masks with os.listdir()?

Aaron J Reichow reic0024 at ub.d.umn.edu
Tue Nov 16 16:29:03 CET 1999


Is there any way to pass a filemask to os.listdir()?  For example, to list
only files with the extension .jpg.  Any help would be appreciated! :)

Aaron





More information about the Python-list mailing list