Вы можете использовать re
как,
>>> import os
>>> os.listdir('.') # listing the files for demonstration
['hello', 'foo.zip', 'Hello']
>>> import re, glob
# search for file ending with `hello`,
>>> [f for f in os.listdir('.') if re.search('hello$', f, flags=re.IGNORECASE)]
['hello', 'Hello']