I want read image name like flower.png unnamed.png. Is there any way that I can read all images images one by one like we can read text file with open ("data.txt", "r") as myfile: data = myfile.read().splitlines().. Hope you will give me a solution thanks
enter code here from PIL import Image
 import glob
 image_list = []
       for filename in glob.glob('yourpath/*.img'):
       im=Image.open(filename)
       image_list.append(im)
 
    