Given the following directory structure:
myDir file1.c file2.c subDirA file3.c subDirB file4.c
I want to find
*.c files with glob, or another similarly efficient method (not using the
os.walk method documented elsewhere).
The problem I encounter is that, given the path
myDir I can't get all
c files recursively in one line of code.
Is there a nice clean way to combine those two statements into one? It sure seems like there would be.