fred-dev commited on
Commit
f51580f
·
verified ·
1 Parent(s): 15c2daa

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -0
app.py CHANGED
@@ -34,6 +34,14 @@ if __name__ == "__main__":
34
  os.makedirs("/data/input/", exist_ok=True)
35
  os.makedirs("/data/user/", exist_ok=True)
36
 
 
 
 
 
 
 
 
 
37
 
38
 
39
 
 
34
  os.makedirs("/data/input/", exist_ok=True)
35
  os.makedirs("/data/user/", exist_ok=True)
36
 
37
+ #lets print the contents of the directories and subdirectories from the root directory
38
+ for root, dirs, files in os.walk("/data"):
39
+ print("Printing contents of the directory: ", root)
40
+ for name in files:
41
+ print(os.path.join(root, name))
42
+ for name in dirs:
43
+ print(os.path.join(root, name))
44
+
45
 
46
 
47