(path,n_ignore=0)
this file loops over all files in a directory structure recursively
this file loops over all files in a directory structure recursively
this file loops over all files in a directory structure recursively
def folder_walker(path,n_ignore=0):
    """
    this file loops over all files in a directory structure recursively
    """
    for root, subpaths, filenames in os.walk(path):
        fullpath = os.path.join(path,root,filenames)
        size = os.path.getsize(fullpath)
        mtime = os.path.getmtime(fullpath) #### <<<< convert to datetime
        yield (fullpath[n:], size, mtime)
def folder_walker ( path , n_ignore = 0 ) : for root , subpaths , filenames in os . walk ( path ) : fullpath = os . path . join ( path , root , filenames ) size = os . path . getsize ( fullpath ) mtime = os . path . getmtime ( fullpath ) #### <<<< convert to datetime yield ( fullpath [ n : ] , size , mtime )