Creación de imagen en Pycharm

from Tkinter import *
 
ventana=Tk()
ventana.geometry("500x500")
ventana.title("Uso de imagen")
 
imagen=PhotoImage(file="gifprueba.gif")
#imgbtn=PhotoImage(file="")
 
fondo = Label(ventana,image=imagen).place(x=0,y=0)
#boton = Button(ventana,image=imgbtn).place(x=20,y=20)
ventana.mainloop()








Comentarios

Entradas populares