Commit 834545ea by BellCodeEditor

save project

parent 455945af
Showing with 9 additions and 9 deletions
from tkinter import filedialog,Tk from tkinter import filedialog,Tk
from PIL import Image from PIL import lmage
r=Tk()
rt=Tk() r.withdraw()
rt.withdraw() path=filedialog.askopenfilenames(title='选择图片文件',filetypes=[('png','.png')],initialdir="./")
ph=filedialog.askopenfilenames(title='选择图片文件',filetypes=[('png','.png')],initialdir='./') img_list=[]
il=[] for i in path:
for i in ph: img=image.open(i)
im=Image.open(i) img_list.append(img)
il.insert(img)
print(img_list) print(img_list)
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment