What is the regular expression to match strings (in this case, file names) that start with \'Run\' and have a filename extension of \'.py\'?
The regular expression s
You don't need a regular expression, you can use glob, which takes wildcards e.g. Run*.py
For example, to get those files in your current directory...
import os, glob files = glob.glob( "".join([ os.getcwd(), "\\Run*.py"]) )