Answers for "how to use messagebox error in python"

2

tkinter info box

from tkinter import messagebox

messagebox.showinfo('Title', 'Information')
Posted by: Guest on July-21-2020
1

tkinter messagebox

import Tkinter
import tkMessageBox

top = Tkinter.Tk()
def hello():
   tkMessageBox.showinfo("Say Hello", "Hello World")

B1 = Tkinter.Button(top, text = "Say Hello", command = hello)
B1.pack()

top.mainloop()
Posted by: Guest on March-07-2020

Code answers related to "how to use messagebox error in python"

Python Answers by Framework

Browse Popular Code Answers by Language