from tkinter import * from tkinter import messagebox top = Tk() top.geometry("200x200") def hello(): messagebox.showinfo("Say Hello", "Hello World") B1 = Button(top, text = "Say Hello", command = hello) B1.place(x = 135,y = 150) top.mainloop()
No hay comentarios.:
Publicar un comentario