[wxPython] Simple question?!

Hi,

I have mailed on the python maillinglists, but didn't get an answer
questions. So i hope that someone in this maillinglist may be able to answer
my question.

If i code a GUI program, in wxpython, and uses Gordons Installer or py2exe
to make it to an exe-file, is it then possible destroy/hide that black
dos-screen that pop's up, when you are running the program?!

Regards,
Thomas

Name you python script <whatever>.pyw this associates the file with
pythonw which doesn't pop up the dos window

ยทยทยท

On Mon, 2002-04-08 at 10:21, Thomas Jacobsen wrote:

Hi,

I have mailed on the python maillinglists, but didn't get an answer
questions. So i hope that someone in this maillinglist may be able to answer
my question.

If i code a GUI program, in wxpython, and uses Gordons Installer or py2exe
to make it to an exe-file, is it then possible destroy/hide that black
dos-screen that pop's up, when you are running the program?!

Regards,
Thomas

_______________________________________________
wxpython-users mailing list
wxpython-users@lists.wxwindows.org
http://lists.wxwindows.org/mailman/listinfo/wxpython-users

Hi Thomas,

If i code a GUI program, in wxpython, and uses Gordons Installer or py2exe
to make it to an exe-file, is it then possible destroy/hide that black
dos-screen that pop's up, when you are running the program?!

The short answer is yes.

For py2exe, you need to include a line "windows=1" in your setup.cfg file.
(I think there is likely another way to specify this -- consult the py2exe
docs). I know that it is also possible using Gordon's installer, but I
haven't used it lately, so I can't recall what it is.

Hope that is helpful.

-tim