Trying to create a function that returns the # of files found a directory and its subdirectories. Just need help getting started
One - liner
import os cpt = sum([len(files) for r, d, files in os.walk("G:\CS\PYTHONPROJECTS")])