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

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top