My research group requires me to run a bunch of different test cases for several different problems. All in all, there are 486 different files with 81 for each problem. I know very little about Python and all I've managed to do so far is get it to run one test file. The command to run the problem solver from the command line is this:
python Solver.py Tests/testName.txt
Of course, I don't plan on typing out the name of each file over and over because that takes far too long. Is there any way for me to run this command for every file in that Tests folder? The files are all named using the same format, where it's something like [original_filename]_[Precision][Criteria][SpeculationLevel][PreconditionLevel].txt, where precision, criteria, speculationLevel, and preconditionLevel each have three possible values. I originally wrote the files using nested for loops but that was in Java.
python Solver.py Test/*.txtpython Solver.py Test/*.txtdoesn't work.