[Tkinter-discuss] Running GUI from console and quitting it

Amit Finkler amit.finkler at gmail.com
Thu Jan 31 11:46:23 CET 2008



    ust create the root window yourself to have control over it and withdraw it:

    from Tkinter import *
    import tkMessageBox
    r = Tk()
    r.withdraw()
    tkMessageBox.showwarning(
                    "Output check",
                    "Output is not on")
    a= raw_input('hit key to continue')

    Regards,
    David


Excellent. This is exactly what I wanted.

Thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/tkinter-discuss/attachments/20080131/0744772e/attachment.htm 


More information about the Tkinter-discuss mailing list