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

Aaron J Reichow reic0024 at ub.d.umn.edu
Tue Nov 16 10:29:03 EST 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