DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
python how to count ever yfile in fodler
import os file_count = sum(len(files) for _, _, files in os.walk(r'C:Dropbox')) print(file_count)
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#python
#count
#yfile
#fodler
ADD COMMENT
Topic
COMMENT
Name
4+1 =
Submit