1from PIL import Image
2import glob
3image_list = []
4for filename in glob.glob('yourpath/*.gif'): #assuming gif
5 im=Image.open(filename)
6 image_list.append(im)
1While I am using the code snippet I am getting this error "A module you have imported isn't available at the moment. It will be available soon."