473,439 Members | 2,566 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,439 software developers and data experts.

Py2Exe produced "binary" shows terminal screen on execution

I've produced a "binary" version of a python-script using Py2Exe and
when run on WinXP it shows a terminal window for a brief moment then
the window disappears. How can I avoid this? I want the script to run
without being visible at all.

Thanks in advance,
Thomas

Nov 2 '05 #1
1 1656
Thomas W wrote:
I've produced a "binary" version of a python-script using Py2Exe and
when run on WinXP it shows a terminal window for a brief moment then
the window disappears. How can I avoid this? I want the script to run
without being visible at all.


You probably used the "console" option? See this page
(http://www.py2exe.org/) for information about the alternate "windows"
option where it says:

'''The above setup script creates a console program, if you want a GUI
program without the console window, simply replace
console=["myscript.py"] with windows=["myscript.py"].'''

-Peter
Nov 2 '05 #2

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

Similar topics

2
by: Bill Janssen | last post by:
I've encountered an issue dealing with strings read from files. I read a line from a file, then try to print it out as an ASCII string: line = fp.readline() print line.encode('US-ASCII',...
0
by: Quarco | last post by:
Hi, I am using the 'binary flag' principle for defining (multiple) modes for an element.. Elements table: id name flags 1 a 9 2 b ...
3
by: Paweł | last post by:
Hi! I want to read with C# some binary file with well defined binary structure. In C++ I was declaring appropriate struct, like: typedef struct {BYTE b1; WORD w1, w2; DWORD dw1} REKORD1;...
4
by: Daedric | last post by:
Hello and thanks in advance to anyone who offers help. To make this simple, let's say I have a game which has 100 different monsters. I want a binary data file to hold all of these. It would...
3
by: Peter Hemmingsen | last post by:
Hi, I'm trying to write a function taking an "flagged" enum as parameter. The function should then loop through the enum and do some stuff for each flag that are set. Below is some sample code...
3
by: Benny Ng | last post by:
Dear all, The following is the source. The password is encrypted and saved into the Binary in SQL2K. Now I want to create a new page to compare the existed password and the password that in the...
1
by: mitsura | last post by:
Hi, I just installed py2exe to create a binary of my Python script. However, py2exe does not seem to create a binary from my .py script. This is what I have done: I create a setup.py script: "...
2
by: buzzy | last post by:
Hi!! I have a question here where I used : Open sourceDir & sourceFile For Input As af Do While Not EOF(af) Line Input #af, textline If Trim(textline) Like "fruits" Then ...
1
by: jmvidalvia | last post by:
Hi! My second post, very similar to the first one. I just mounted a debian server and start to run some few scripts. They "seem" to run, but sometimes (5% of times) I am getting this error message:...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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,...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

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.