[docs] tkinter messagebox

Theo Mars Th.A.M.Mars at skf-rif.nl
Mon Jan 31 12:21:02 CET 2011

calling the tkinter  messagebox in a shellwindow works fine but when I
run the application as a .pyw application

the application crashes. Does anyone has a suggestion what is going
wrong here?


The code to test is (file test.pyw):


from tkinter import *

from tkinter import ttk


root = Tk()

messagebox.showwarning(title='title', message='message')




I'am using python 3.1.1 on windows xp


Kind regards,


T. Mars

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/docs/attachments/20110131/e75e4a3e/attachment-0001.html>

More information about the docs mailing list