how to look for files in all folders python code example
Example: python dir all files
import os
for root, dirs, files in os.walk("."):
for filename in files:
print(filename)
import os
for root, dirs, files in os.walk("."):
for filename in files:
print(filename)