datahandler.py
def search_folder_for_images(self, folder):
        """Recursively search through and import all images that are found
        in a folder.
        """
        files = os.listdir(folder)

        images = []
        for file in files:
            file_path = os.path.join(folder, file)
            if self.get_extension(file) in self.img_extensions:
                images.append(import_image(file_path))
            elif os.path.isdir(file_path):
                images.extend(self.search_folder_for_images(file_path))

        return images
Recursively search through and import all images that are found
        in a folder.
        
Recursively search through and import all images that are found
in a folder.
Recursively search through and import all images that are found in a folder .
def search_folder_for_images(self, folder):
        files = os.listdir(folder)
        images = []
        for file in files:
            file_path = os.path.join(folder, file)
            if self.get_extension(file) in self.img_extensions:
                images.append(import_image(file_path))
            elif os.path.isdir(file_path):
                images.extend(self.search_folder_for_images(file_path))
        return images
def search_folder_for_images ( self , folder ) : files = os . listdir ( folder ) images = [ ] for file in files : file_path = os . path . join ( folder , file ) if self . get_extension ( file ) in self . img_extensions : images . append ( import_image ( file_path ) ) elif os . path . isdir ( file_path ) : images . extend ( self . search_folder_for_images ( file_path ) ) return images
Recursively search through and import all images that are found
in a folder.
Recursively search through and import all images that are found in a folder .
"""Recursively search through and import all images that are found
        in a folder.
        """
self
folder