Nombre de fichiers Python
import os
directory_path = '/home/xyz/'
No_of_files = len(os.listdir(directory_path))
Magnificent Millipede
import os
directory_path = '/home/xyz/'
No_of_files = len(os.listdir(directory_path))