(path, matching)
| 62 | return os.environ[varName] |
| 63 | |
| 64 | def findDirs(path, matching): |
| 65 | out = [] |
| 66 | for root, dirnames, filenames in os.walk(path): |
| 67 | for dirName in fnmatch.filter(dirnames, matching): |
| 68 | out.append(os.path.join(root, dirName)) |
| 69 | return out |
| 70 | |
| 71 | def findFiles(path, matching): |
| 72 | out = [] |