Nasty launching of Python applications

Cliff Wells LogiplexSoftware at earthlink.net
Thu Mar 20 00:43:56 CET 2003


On Wed, 2003-03-19 at 15:36, Tracker wrote:
> When I run any Python program (*.py) I get always two windows: console
> and the main program windows (eg. using wxPython). It looks ugly,
> because when I execute application I got two windows. I woudl like to
> get only the one. Is there any way to hide the console window? I
> heard, it may be done using some kind of API Win32 function... but
> Python does not implement it. :(

Change the name of your Python file from .py to .pyw.  Alternatively,
you can associate .py files with pythonw.exe.

-- 
Cliff Wells, Software Engineer
Logiplex Corporation (www.logiplex.net)
(503) 978-6726 x308  (800) 735-0555 x308






More information about the Python-list mailing list