Hi,
I made a small app in wxPython. I created an exe using py2exe module as explained on www.py2exe.org.
Now when I double click the exe file, along with my application a black DOS windows also open up…which I don’t want.
How can I make sure that DOS window never shows up when I launch my application exe.
Every help is appreciated.
Thanks
# setup.py
from distutils.core import setup
import py2exe
setup(windows=[
{
"script": "backup-ftp.py",
"icon_resources": [(1, "icon.ico")]
}
])
The Option windows is important, it isnt a console 
···
-----Ursprüngliche Nachricht-----
Von: Daniel Johnson [mailto:diffuser78@gmail.com]
Gesendet: Donnerstag, 3. August 2006 20:04
An: wxPython-users@lists.wxwidgets.org
Betreff: [wxPython-users] How to remove the DOS window in wxPython ?
Hi,
I made a small app in wxPython. I created an exe using py2exe module as
explained on www.py2exe.org.
Now when I double click the exe file, along with my application a black DOS
windows also open up....which I don't want.
How can I make sure that DOS window never shows up when I launch my
application exe.
Every help is appreciated.
Thanks
My setup.py looked like this
setup.py
from distutils.core import setup
import py2exe
setup(console=[“Project.py”])
So, I need to change “console” to “windows” …rite ?
···
On 8/3/06, Micha Reiser micha.reiser@famreiser.ath.cx wrote:
setup.py
from distutils.core import setup
import py2exe
setup(windows=[
{
“script”: “backup-ftp.py”,
“icon_resources”: [(1, “icon.ico”)]
}
])
The Option windows is important, it isnt a console 
-----Ursprüngliche Nachricht-----
Von: Daniel Johnson [mailto:diffuser78@gmail.com]
Gesendet: Donnerstag, 3. August 2006 20:04
An: wxPython-users@lists.wxwidgets.org
Betreff: [wxPython-users] How to remove the DOS window in wxPython ?
Hi,
I made a small app in wxPython. I created an exe using py2exe module as
explained on www.py2exe.org.
Now when I double click the exe file, along with my application a black DOS
windows also open up…which I don’t want.
How can I make sure that DOS window never shows up when I launch my
application exe.
Every help is appreciated.
Thanks
To unsubscribe, e-mail:
wxPython-users-unsubscribe@lists.wxwidgets.org
For additional commands, e-mail: wxPython-users-help@lists.wxwidgets.org
just change the extension on your source from scriptname.py to scriptname.pyw before you package it with py2exe this will tell it to not open the console
···
On 8/3/06, Daniel Johnson diffuser78@gmail.com wrote:
My setup.py looked like this
setup.py
from distutils.core import setup
import py2exe
setup(console=[“Project.py”])
So, I need to change “console” to “windows” …rite ?
On 8/3/06, Micha Reiser < > micha.reiser@famreiser.ath.cx> wrote:
setup.py
from distutils.core import setup
import py2exe
setup(windows=[
{
“script”: “backup-ftp.py”,
“icon_resources”: [(1, “icon.ico”)]
}
])
The Option windows is important, it isnt a console 
-----Ursprüngliche Nachricht-----
Von: Daniel Johnson [mailto:
diffuser78@gmail.com]
Gesendet: Donnerstag, 3. August 2006 20:04
An: wxPython-users@lists.wxwidgets.org
Betreff: [wxPython-users] How to remove the DOS window in wxPython ?
Hi,
I made a small app in wxPython. I created an exe using py2exe module as
explained on www.py2exe.org.
Now when I double click the exe file, along with my application a black DOS
windows also open up…which I don’t want.
How can I make sure that DOS window never shows up when I launch my
application exe.
Every help is appreciated.
Thanks
To unsubscribe, e-mail:
wxPython-users-unsubscribe@lists.wxwidgets.org
For additional commands, e-mail: wxPython-users-help@lists.wxwidgets.org