I am using glob.glob to return a list of files which have a specific string in their name under a given directory:
import glob FileList = glob.glob(r\'\\\\Di