py2exe - how to get rid off console window?

J

JZ

I do not know how to get rid off the black console window during execution
wxApp1.exe.

My setup.py file for py2exe is:

from distutils.core import setup
import py2exe
setup(console=["wxApp1.py"])

I tried different approach like

setup(console=["wxApp1.pyw"])

Nothing changed.

I tried also:

setup(name='wxApp1', scripts =['wxApp1.pyw'])

but in that situation I could not generate wxApp1.exe file at all.
 
T

Thomas Heller

JZ said:
I do not know how to get rid off the black console window during execution
wxApp1.exe.

My setup.py file for py2exe is:

from distutils.core import setup
import py2exe
setup(console=["wxApp1.py"])

I tried different approach like

setup(console=["wxApp1.pyw"])

setup(windows=["wxAppl.py"])

Thomas
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,989
Messages
2,570,207
Members
46,782
Latest member
ThomasGex

Latest Threads

Top