Commit 7ab0dcaa by BellCodeEditor

save project

parent 9228f310
Showing with 2 additions and 0 deletions
from tkinter import filedialog,Tk from tkinter import filedialog,Tk
from PIL import Image from PIL import Image
path = filedialog.askopenfilenames(title='选择图片文件',filetypes=[('All Files','*')],initialdir='./')
print(path)
rt=Tk() rt=Tk()
rt.withdraw() rt.withdraw()
ph=filedialog.askopenfilenames(title='选择图片文件',filetypes=[('png','.png')],initialdir='./') ph=filedialog.askopenfilenames(title='选择图片文件',filetypes=[('png','.png')],initialdir='./')
......
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