Py2Exe produced "binary" shows terminal screen on execution

T

Thomas W

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
 
P

Peter Hansen

Thomas said:
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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,764
Messages
2,569,567
Members
45,041
Latest member
RomeoFarnh

Latest Threads

Top