preprocessing/frameSplitterFull_me.py
def show_all_files_in_directory(input_path,extension):
    'This function reads the path of all files in directory input_path'
    files_list=[]
    for path, subdirs, files in os.walk(input_path):
        for file in files:
            if file.endswith(extension):
               files_list.append(os.path.join(path, file))
    return files_list
This function reads the path of all files in directory input_path
This function reads the path of all files in directory input_path
This function reads the path of all files in directory input_path
def show_all_files_in_directory(input_path,extension):
    files_list=[]
    for path, subdirs, files in os.walk(input_path):
        for file in files:
            if file.endswith(extension):
               files_list.append(os.path.join(path, file))
    return files_list
def show_all_files_in_directory ( input_path , extension ) : files_list = [ ] for path , subdirs , files in os . walk ( input_path ) : for file in files : if file . endswith ( extension ) : files_list . append ( os . path . join ( path , file ) ) return files_list
This function reads the path of all files in directory input_path
This function reads the path of all files in directory input_path
'This function reads the path of all files in directory input_path'
input_path
extension