From 3e4c5a6261770bced301b5e74233e7866166ea5b Mon Sep 17 00:00:00 2001 From: Christian Krinitsin Date: Sun, 1 Jun 2025 21:35:14 +0200 Subject: clean up repository --- classification/files.py | 16 ---------------- 1 file changed, 16 deletions(-) delete mode 100755 classification/files.py (limited to 'classification/files.py') diff --git a/classification/files.py b/classification/files.py deleted file mode 100755 index 65efda6ff..000000000 --- a/classification/files.py +++ /dev/null @@ -1,16 +0,0 @@ -import os - -def list_files_recursive(path='.'): - result = [] - for entry in os.listdir(path): - full_path = os.path.join(path, entry) - if os.path.isdir(full_path): - result = result + list_files_recursive(full_path) - else: - result.append(full_path) - return result - -if __name__ == "__main__": - directory_path = '../gitlab/issues_text' - arr = list_files_recursive(directory_path) - print(arr) -- cgit 1.4.1