Ejemplo de editor con estilo

from Tkinter import *

canvas_width = 900
canvas_height =500

master = Tk()

canvas = Canvas(master, width=canvas_width, height=canvas_height)
canvas.pack()

img = PhotoImage(file="captura.gif") #solo soporta imagenes .gif .pgm o .pmm
canvas.create_image(20,20, anchor=NW, image=img)

mainloop()

Comentarios