Answers for "how to read number of files in a folder in python"

-1

count a number of file in a folder python

import os
len([item for item in os.listdir(folderPath)])
Posted by: Guest on April-17-2021

Code answers related to "how to read number of files in a folder in python"

Python Answers by Framework

Browse Popular Code Answers by Language