473,399 Members | 3,832 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,399 software developers and data experts.

WxPython: Disable Application Loading With Console

16
Sup'

I created a WxPython application and renamed the file extension from .py to .pyw. The application loads without a console when I run it (which is what I want), but after I convert it using py2exe, the application loads with a console even though my setup.py compiled the exe using the .pyw extension. Please advice.

Thanks in advance.
May 25 '10 #1

✓ answered by bvdet

@ekasII
You need this statement in your setup.py:
Expand|Select|Wrap|Line Numbers
  1.     windows = ["your_app.pyw"]
This tells py2exe to compile the script without the console.

2 1959
bvdet
2,851 Expert Mod 2GB
@ekasII
You need this statement in your setup.py:
Expand|Select|Wrap|Line Numbers
  1.     windows = ["your_app.pyw"]
This tells py2exe to compile the script without the console.
May 25 '10 #2
ekasII
16
Tanx bvdet ..I Always Get My Answers From Here..
May 26 '10 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: helpSeekar | last post by:
I wrote a small application. I created config file as ConsoleApplication1.exe.config. 1. I have appsettings section. <configuration> <appSettings> <add key="Application Name"...
3
by: Joe | last post by:
Dear Friends, How to run the C# Console application as services? I have a console application.I want run this application as background services.User don't want see the command propmt. If anyone...
1
by: lpinho | last post by:
Hi there C# experts, I'm building a C# windows applications that loads some OCX (made using VB 6), I'm able to load the OCX and then dispose it (at least apparently), but when I'm exiting my C#...
4
by: ttan | last post by:
Is there anyway we can write an Application project and also have an option for console where it take the command line for input? Thanks
9
by: Mike | last post by:
Hi, I have the following problem: I have a singleton class that I want to access from asp.net application. The trick is, that I want to create it (Singleton.GetInstance() for the first time) in...
7
by: Wayne | last post by:
I have found the following code on this newsgroup that removes the Access Application minimize, restore and close buttons. Private Const GWL_EXSTYLE = (-20) Private Const GWL_STYLE = (-16) ...
4
by: tomKeating | last post by:
First I am new to both python and wxPython. I have developed a couple of applications for myself with Paradox, but it is time to move on. I am having difficulty creating a solid background for a...
4
by: kwankwan08 | last post by:
I was currently writting a Cyber Cafe for the client side which start up with a form that maximize and block all the client control like shortcut key and other security. It's fine to work in my pc...
1
by: Sendil kumar | last post by:
Hi All, I have a C++ apllication which in turn loads the jvm. When the JVM is loaded it turns off my crash handler filter and sets its own filter by default, so, when ever a crash happens I was...
3
convexcube
by: convexcube | last post by:
Hi everyone, Now that I've found a way to disable the ribbon etc. I need to disable the application maximize button. I have looked at this post and implemented it, but it disables the close and...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.