Package: list-all-files-recursively
List files recursivelypipinstalllist-all-files-recursivelyThis module provides a function to retrieve information about files in a given folder and its subfolders.



    The function get_folder_file_complete_path takes one or more folder paths as input and returns a list of named tuples.

    Each named tuple contains information about a file found in the folder and its subfolders, including the folder path,

    file name, complete file path, and file extension.



    Example usage:

    folders = [r'C:\cygwin', r'C:/cygwinx']

    file_info_list = get_folder_file_complete_path(folders)

    for file_info in file_info_list:

        print(file_info.path)



    Note: This function only works for local file systems and does not support remote file systems.





    Args:

        folders: A string or a list of strings representing folder paths to retrieve file information from.

        maxsubfolders: An optional integer that limits the maximum number of subfolders to search in each folder.



    Returns:

        A list of named tuples. Each named tuple contains information about a file found in the folder and its subfolders,

        including the folder path, file name, complete file path, and file extension.



    Raises:

        ValueError: If the input folder path is invalid or does not exist.

        TypeError: If the input folders argument is not a string or a list of strings.fromlist_all_files_recursivelyimportget_folder_file_complete_pathfi=get_folder_file_complete_path(folders=[r'C:\Users\Gamer\anaconda3\bin',r"C:\yolovtest"])forfileinfi[:10]:print(file.folder,file.file,file.path,file.ext)C:\Users\Gamer\anaconda3\binlibLIEF.dllC:\Users\Gamer\anaconda3\bin\libLIEF.dll.dllC:\Users\Gamer\anaconda3\binomptarget.dllC:\Users\Gamer\anaconda3\bin\omptarget.dll.dllC:\Users\Gamer\anaconda3\binomptarget.rtl.level0.dllC:\Users\Gamer\anaconda3\bin\omptarget.rtl.level0.dll.dllC:\Users\Gamer\anaconda3\binomptarget.rtl.opencl.dllC:\Users\Gamer\anaconda3\bin\omptarget.rtl.opencl.dll.dllC:\yolovtestdevi.txtC:\yolovtest\devi.txt.txtC:\yolovtest\backgroundimages2022-10-1413_13_09-.pngC:\yolovtest\backgroundimages\2022-10-1413_13_09-.png.pngC:\yolovtest\backgroundimages2022-10-1413_13_17-Window.pngC:\yolovtest\backgroundimages\2022-10-1413_13_17-Window.png.pngC:\yolovtest\backgroundimages2022-10-1413_13_39-.pngC:\yolovtest\backgroundimages\2022-10-1413_13_39-.png.pngC:\yolovtest\backgroundimages2022-10-1413_13_46-Window.pngC:\yolovtest\backgroundimages\2022-10-1413_13_46-Window.png.pngC:\yolovtest\backgroundimages2022-10-1413_13_54-Window.pngC:\yolovtest\backgroundimages\2022-10-1413_13_54-Window.png.pngfromlist_all_files_recursivelyimportget_folder_file_complete_pathfi=get_folder_file_complete_path(folders=[r"C:\yolovtest"])forfileinfi[:10]:print(file.folder,file.file,file.path,file.ext)C:\yolovtestdevi.txtC:\yolovtest\devi.txt.txtC:\yolovtest\backgroundimages2022-10-1413_13_09-.pngC:\yolovtest\backgroundimages\2022-10-1413_13_09-.png.pngC:\yolovtest\backgroundimages2022-10-1413_13_17-Window.pngC:\yolovtest\backgroundimages\2022-10-1413_13_17-Window.png.pngC:\yolovtest\backgroundimages2022-10-1413_13_39-.pngC:\yolovtest\backgroundimages\2022-10-1413_13_39-.png.pngC:\yolovtest\backgroundimages2022-10-1413_13_46-Window.pngC:\yolovtest\backgroundimages\2022-10-1413_13_46-Window.png.pngC:\yolovtest\backgroundimages2022-10-1413_13_54-Window.pngC:\yolovtest\backgroundimages\2022-10-1413_13_54-Window.png.pngC:\yolovtest\backgroundimages2022-10-1413_14_25-Window.pngC:\yolovtest\backgroundimages\2022-10-1413_14_25-Window.png.pngC:\yolovtest\backgroundimages2022-10-1421_29_08-Greenshot.pngC:\yolovtest\backgroundimages\2022-10-1421_29_08-Greenshot.png.pngC:\yolovtest\backgroundimages2022-10-1421_29_21-Greenshot.pngC:\yolovtest\backgroundimages\2022-10-1421_29_21-Greenshot.png.pngC:\yolovtest\backgroundimages2022-10-1421_29_25-Greenshot.pngC:\yolovtest\backgroundimages\2022-10-1421_29_25-Greenshot.png.png