473,378 Members | 1,544 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,378 software developers and data experts.

suppressing the console in a GUI program

Hi guys. I tried naming my file with a .pyw extension, but the console
still shows up. Why doesn't this work? And is there another, more
programmatic way to suppress it?

Thanks.
Aug 1 '06 #1
2 1277
John Salerno wrote:
Hi guys. I tried naming my file with a .pyw extension, but the console
still shows up. Why doesn't this work? And is there another, more
programmatic way to suppress it?

Thanks.
I just noticed that the console that opens isn't the normal one, it's
IPython. Now how would I suppress that one as well? Again, any way to do
it in the program, or is that not a good idea for when it gets ported
to another platform?
Aug 1 '06 #2

John Salerno wrote:
John Salerno wrote:
Hi guys. I tried naming my file with a .pyw extension, but the console
still shows up. Why doesn't this work? And is there another, more
programmatic way to suppress it?

Thanks.

I just noticed that the console that opens isn't the normal one, it's
IPython. Now how would I suppress that one as well? Again, any way to do
it in the program, or is that not a good idea for when it gets ported
to another platform?
<try>

via Explorer --File Options --File Types find PYW entry in the list
and change the associated program to pythonw

</try>
Cheers

Aug 1 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Will Stuyvesant | last post by:
I never used the popen or popen2 libraries but it is my understanding that they can capture the output of console based programs. Is it also possible to send keystrokes to console base programs? ...
40
by: Dave Hansen | last post by:
Please note crosspost. Often when writing code requiring function pointers, it is necessary to write functions that ignore their formal parameters. For example, a state machine function might...
1
by: Bill Woodruff | last post by:
I know, it's a weird question, but I am experimenting with a multi-form app where I need to override Dispose calls and want to start the app this way. thanks, Bill Woodruff dotScience Chiang...
1
by: David A. Osborn | last post by:
I am currently working on a program that either works in a GUI or via console depending on what is passed in arguements at runtime. However, every time it is ran in GUI it still opens a console...
4
by: pdmountaineer | last post by:
hi, with the well-known C command "system", DOS commands can be executed from a simple C-program. Is there a possibility to suppress the console window to pop up when executing a DOS command...
2
by: stevie.greenslade | last post by:
'Lo all. I have a simple question I'd like help on. :] How, if at all, would one go about suppressing the console window that flashes up when you make at system() call in your C++ program? I'm...
4
by: Peter Nimmo | last post by:
Hi, I am writting a windows application that I want to be able to act as if it where a Console application in certain circumstances, such as error logging. Whilst I have nearly got it, it...
5
by: Don Li | last post by:
Hi, A web app server package that I'm using includes a bunch of open source UI components (heavy with javascripts). Inevitably it has bugs, e.g. "undefined" is null or not an object. This...
0
by: Stephen Thomas | last post by:
Hi there I wonder if any one has encountered this problem or can suggest what is wrong. I am trying the a procedure from the msn site but get the following message: Error 1 The type or...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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...

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.