Login or sign up Lost password?
Login or sign up
""" import os, ntpath assert(isdir(directory)), "The 'directory' parameter is not a directory (%s)"%(directory) file_paths = [] # List which will store all of the full filepaths. for root, directories, files in os.walk(directory): for filename in files: # Join the two strings in order to form the full filepath.