[Tutor] scratching my head

Laura Creighton lac at openend.se
Mon Aug 3 08:12:05 CEST 2015

I think people are giving you sub-optimal advice.

Python has a module in the standard library for doing exactly what
you want to do -- match files with certain extensions.

See: https://docs.python.org/2/library/fnmatch.html

It's unix style file matching, but I am fairly certain this works
on windows also.  I don't have a windows machine to test and make sure.


More information about the Tutor mailing list