Connecting Tech Pros Worldwide Help | Site Map

py2exe & wxPython [how to get rid of console window]

Newbie
 
Join Date: May 2007
Posts: 5
#1: Aug 31 '07
Hi,

I created a GUI using wx.python and the file name is myprog1.py. I used the setup file to create exe file. It created myprog1.exe. When I double clicked my exe, it opened a console window and my main exe program. Is there a way to avoid the console window?

Also when I copied the exe file to another machine, it doesn't work there. Do I have to copy any other files from dist directory??

Thanks
Sumitha
bartonc's Avatar
Moderator
 
Join Date: Sep 2006
Location: Minden, Nevada, USA
Posts: 6,400
#2: Aug 31 '07

re: py2exe & wxPython [how to get rid of console window]


Quote:

Originally Posted by sumitha

Hi,

I created a GUI using wx.python and the file name is myprog1.py. I used the setup file to create exe file. It created myprog1.exe. When I double clicked my exe, it opened a console window and my main exe program. Is there a way to avoid the console window?

Also when I copied the exe file to another machine, it doesn't work there. Do I have to copy any other files from dist directory??

Thanks
Sumitha

Yes there is. There are also other optimizations for your setup script for wxPython using Py2Exe. Note the lack a "console" setting and "excludes" for things like Tkinter in this article.

PS: I'm sorry to see that I never got back to you on your radio button dilemma. Did that work out for you?
Newbie
 
Join Date: May 2007
Posts: 5
#3: Aug 31 '07

re: py2exe & wxPython [how to get rid of console window]


Quote:

Originally Posted by bartonc

Yes there is. There are also other optimizations for your setup script for wxPython using Py2Exe. Note the lack a "console" setting and "excludes" for things like Tkinter in this article.

PS: I'm sorry to see that I never got back to you on your radio button dilemma. Did that work out for you?

Hi,

The URL you have attached is not link to article.

Yes, I did find solution for radiobuttion problem

Thanks
bartonc's Avatar
Moderator
 
Join Date: Sep 2006
Location: Minden, Nevada, USA
Posts: 6,400
#4: Aug 31 '07

re: py2exe & wxPython [how to get rid of console window]


Quote:

Originally Posted by sumitha

Hi,

The URL you have attached is not link to article.

Yes, I did find solution for radiobuttion problem

Thanks

My apologies! py2exe setup file for wxPython that runs from any IDE and excludes Tkinter
Reply