Commit 7bf7a1ea by BellCodeEditor

save project

parent 69169aa0
Showing with 10 additions and 13 deletions
from tkinter import filedialog,Tk from tkinter import filedialog,Tk
from PIL import Image from PIL import Image
rt=Tk() root=TK()
rt.withdraw() root.withdraw()
ph=filedialog.askopenfilenames(title='选择图片文件',filetypes=[('png','.png')],initialdir='./') path=filedialog.askopenfilenames(title="选择图片文件",filetypes=[('png','.png')],
il=[] initialidir='./')
for i in ph: img_list=[]
im=Image.open(i) for i in path:
il.append(im) img=Imag.open(i)
il[0].save("Robot.gif", save_all=True,append_images=il[1:])a img_list.append(img)
from tkinter import filedialog , Tkgg print(img_list)
from PIL import Image \ No newline at end of file
s = Tk()
s.withdraw()
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