from sys import argvfrom Tkinter import *filename = '1.gif' win = Tk()img = PhotoImage(file=filename)can = Canvas(win)can.pack(fill=BOTH)can.config(width=img.width(), height=img.height()) can.create_image(2, 2, image=img, anchor=NW)win.mainloop()
Name (required)
email (will not be published) (required)
Website