python interpreter black window

Scott David Daniels Scott.Daniels at Acm.Org
Thu Dec 25 19:52:10 EST 2008


Chris Rebert wrote:
> On Thu, Dec 25, 2008 at 3:32 PM, Gandalf <goldnery at gmail.com> wrote:
>> I use WX gui so the user doesn't actually need it, Is their any way to
>> hide it?
> 
> Make sure your Python program is run by pythonw.exe as opposed to python.exe
> pythonw.exe exists specifically for the purpose of suppressing the DOS
> Box on Windows.

Absolutely right.  Vy the way, naming your "main" program file
something.pyw, rather than something.py is one of the ways ro do this.

--Scott David Daniels
Scott.Daniels at Acm.Org



More information about the Python-list mailing list