How to access multiple image objects in a loop, from outside of the loop in python?

后端 未结 0 1912
执念已碎
执念已碎 2020-12-29 02:20
from PIl import Image, ImageFilter
import os

img_path = "some_location"

for image in os.listdir(img_path):
    img = Image.open(image)
    new_img = img.         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题