Contact
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutSign UpSign In
| Download
Views: 18655
1
2
class Files_Utils:
3
4
@staticmethod
5
def all_files_recursive_with_extension(path, extension):
6
import os
7
files = []
8
for r, d, f in os.walk(path):
9
for file in f:
10
if extension in file:
11
files.append(os.path.join(r, file))
12
return files
13
14