how to find a file in all directories 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)