fnmatch — Unix-style Glob Pattern Matching — PyMOTW 3

The fnmatch module is used to compare filenames against glob-style patterns such as used by Unix shells.

Read more…

This post is part of the Python Module of the Week series for Python 3. See PyMOTW.com for more articles from the series.