Commit 719c41d9 by BellCodeEditor

save project

parent cc21cdd6
Showing with 2 additions and 2 deletions
...@@ -2,13 +2,13 @@ from tkinter import filedialog,Tk ...@@ -2,13 +2,13 @@ from tkinter import filedialog,Tk
from PIL import Image from PIL import Image
root = Tk() root = Tk()
root = withdraw() root.withdraw()
path = filedialog.askopenfilenames(title = '选择图片文件', path = filedialog.askopenfilenames(title = '选择图片文件',
filetypes = [('png', '.png')], filetypes = [('png', '.png')],
initialdir = "./") initialdir = "./")
img_list = [] img_list = []
for i in path: for i in path:
img = image.open(i) img = Image.open(i)
img_list.append(img) img_list.append(img)
......
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