Tkinter on WIndows XP opens a blank screen. How can I get rid of it?

Chris Rebert cvrebert at gmail.com
Wed Oct 1 23:02:45 CEST 2008


Run your script using pythonw.exe instead of python.exe ; it doesn't  
open a console window and exists for this exact purpose.

Cheers,
Chris Rebert

On Sep 30, 2008, at 1:28 PM, dudeja.rajat at gmail.com wrote:

> Hi,
>
>
> I m using Tkinter and Tix to create a GUI on Windows XP. So far I've  
> created the GUI and it just works.
>
>
> But the problem is as soon as I double click on the script it  
> besides opening the GUI also opens a shell ( a blank screen) with  
> it. Pleas suggest how can I get rid of this blank screen.
>
> My program is staring as :
>
>
>
> myRoot = Tix.Tk()
> myRoot.title("Test Automation")
>
> < some stuff>
> < ...............>
>
> myRoot.mainloop()
>
>
> Thanks and regadrs,
> Rajat
> --
> http://mail.python.org/mailman/listinfo/python-list
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20081001/68205285/attachment.html>


More information about the Python-list mailing list