📅  最后修改于: 2022-03-11 14:46:51.559000             🧑  作者: Mango
from PIL import Image
import glob
image_list = []
for filename in glob.glob('yourpath/*.gif'): #assuming gif
im=Image.open(filename)
image_list.append(im)