Answers for "python os get number of files in dir"

6

python count files directory

import os
len(os.listdir(directory))
Posted by: Guest on April-03-2020

Python Answers by Framework

Browse Popular Code Answers by Language