répertoire itérate python
import os
directory = r'C:\Users\admin'
for filename in os.listdir(directory):
if filename.endswith(".jpg") or filename.endswith(".png"):
print(os.path.join(directory, filename))
else:
continue
Fair Finch