Hiding Console?

Alex Martelli aleaxit at yahoo.com
Tue Jul 3 16:56:01 EDT 2001


"G. Willoughby" <thecalm at NOSPAM.btinternet.com> wrote in message
news:9ht9to$fei$1 at neptunium.btinternet.com...
> Is there a way in your script to include a command that when run on a
> WinME/32 platform the console does not appear? such as the IDLE ide. I
wanna
> write apps with neat little gui's using Tkinter but i dont want the
console
> there when there run, any ideas?

Name your program foo.pyw rather than foo.py, and/or run it using explicitly
pythonw.exe rather than python.exe -- either way, no console will appear.


Alex






More information about the Python-list mailing list