code: def move_images(self, image_directory):
          
  
          image_paths = glob(image_directory + "/**/*.png", recursive=True)
          for image_path in image_paths:
              destination = image_path.replace("\\image\\", "\\")
              shutil.move(image_path, destination)
          image_folders = glob(image_directory + "/**/image", recursive=True)
          for image_folder in image_folders:
              os.removedirs(image_folder)
docs: Moves png-files one directory up from path/image/*.png -> path/*.png