Spaces:
Paused
Paused
Create test.py
Browse files- backend/test.py +6 -0
backend/test.py
ADDED
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import os
|
2 |
+
|
3 |
+
def absoluteFilePaths(directory):
|
4 |
+
for dirpath,_,filenames in os.walk(directory):
|
5 |
+
for f in filenames:
|
6 |
+
yield os.path.abspath(os.path.join(dirpath, f))
|