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

Jerry Hill malaclypse2 at gmail.com
Wed Oct 1 17:54:11 EDT 2008


On Wed, Oct 1, 2008 at 5:02 PM, Chris Rebert <cvrebert at gmail.com> wrote:
> Run your script using pythonw.exe instead of python.exe ; it doesn't open a
> console window and exists for this exact purpose.

In particular, you can just rename your script from "myscript.py" to
"myscript.pyw".  Then when you double click on it, it will be run with
pythonw.exe instead of python.exe.

-- 
Jerry



More information about the Python-list mailing list