Function
fnmatch.fnmatchcase

Signature

fnmatchcase(name, pat)

Documentation String

Test whether FILENAME matches PATTERN, including case.

This is a version of fnmatch() which doesn't case-normalize its arguments.