io_utils/io_common.py
def all_files_in_folder(input_folder, file_ext=None):
    """
    Gets all the filenames in a folder
    :param input_folder:
    :param file_ext:
    :return:
    """
    paths = []
    file_names = []
    for root,d_names,f_names in os.walk(input_folder):
        for f in f_names:
            if file_ext is None or f.find(file_ext) != -1:
                paths.append(os.path.join(root, f))
                file_names.append(f)

    return file_names, paths

    Gets all the filenames in a folder
    :param input_folder:
    :param file_ext:
    :return:
    
Gets all the filenames in a folder
Gets all the filenames in a folder
def all_files_in_folder(input_folder, file_ext=None):
    paths = []
    file_names = []
    for root,d_names,f_names in os.walk(input_folder):
        for f in f_names:
            if file_ext is None or f.find(file_ext) != -1:
                paths.append(os.path.join(root, f))
                file_names.append(f)
    return file_names, paths
def all_files_in_folder ( input_folder , file_ext = None ) : paths = [ ] file_names = [ ] for root , d_names , f_names in os . walk ( input_folder ) : for f in f_names : if file_ext is None or f . find ( file_ext ) != - 1 : paths . append ( os . path . join ( root , f ) ) file_names . append ( f ) return file_names , paths
Gets all the filenames in a folder
Gets all the filenames in a folder
"""
    Gets all the filenames in a folder
    :param input_folder:
    :param file_ext:
    :return:
    """
None
input_folder
None
file_ext
None