Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- from PIL import Image
- import glob
- image_list = []
- for filename in glob.glob('path/*.jpg'):
- im=Image.open(filename)
- image_list.append(im)
- print(image_list)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement