Skip to content
  • P
    Projects
  • G
    Groups
  • S
    Snippets
  • Help

Administrator / level3-lesson22-diy1

  • This project
    • Loading...
  • Sign in
Go to a project
  • Project
  • Repository
  • Issues 0
  • Merge Requests 0
  • Pipelines
  • Wiki
  • Snippets
  • Members
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Files
  • Commits
  • Branches
  • Tags
  • Contributors
  • Graph
  • Compare
  • Charts
Commit 4747a6a6 authored 3 years ago by BellCodeEditor's avatar BellCodeEditor
Browse files
Options
  • Browse Files
  • Download
  • Email Patches
  • Plain Diff

save project

parent f02b1900 c202676l1672p256a15716/wx291248
Show whitespace changes
Inline Side-by-side
Showing with 7 additions and 7 deletions
  • b.py
  • xbdts.gif
b.py
View file @ 4747a6a6
......@@ -3,9 +3,9 @@ from PIL import Image
rt=Tk()
rt.withdraw()
ph=filedialog.askopenfilenames(title='选择图片文件',filetypes=[('png','.png')],initialdir='./')
il=[]
for i in ph:
im=Image.open(i)
il.insert(0,im)
il[0].save("xbdts.gif", save_all=True,append_images=il[1:])
\ No newline at end of file
path=filedialog.askopenfilenames(title='选择图片文件',filetypes=[('png','.png')],initialdir='./')
img_list = []
for i in path:
img=Image.open(i)
img_list.append(img)
print(img_list)
\ No newline at end of file
This diff is collapsed. Click to expand it.
xbdts.gif
View file @ 4747a6a6
This diff is collapsed. Click to expand it.
  • Write
  • Preview
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