Commit 51322fb6 by BellCodeEditor

save project

parent e10ea173
Showing with 6 additions and 2 deletions
from tkinter import filedialog, Tk from tkinter import filedialog, Tk
from PIL import Image
zhu=Tk() zhu=Tk()
zhu.withdraw() zhu.withdraw()
zhu1=filedialog.askopenfilename(title="猪猪猪猪猪猪猪猪猪猪猪猪", zhu1=filedialog.askopenfilename(title="猪猪猪猪猪猪猪猪猪猪猪猪",
filetypes=[('All Files','*')], filetypes=[('All Files','*')],
initialdir="./") initialdir="./")
print(zhu1) zhu2=[]
\ No newline at end of file for zhu3 in zhu1:
zhu4=Image.open(zhu3)
zhu2.append(zhu4)
print(zhu2)
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