Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python count files directory

import os
len(os.listdir(directory))
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #python #count #files #directory
ADD COMMENT
Topic
Name
7+7 =