Advertisement
Guest User

Untitled

a guest
Mar 18th, 2019
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.17 KB | None | 0 0
  1. from PIL import Image
  2. import glob
  3. image_list = []
  4.  
  5. for filename in glob.glob('path/*.jpg'):
  6. im=Image.open(filename)
  7. image_list.append(im)
  8. print(image_list)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement