By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,660 Members | 1,100 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,660 IT Pros & Developers. It's quick & easy.

Py2Exe produced "binary" shows terminal screen on execution

P: n/a
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
Share this Question
Share on Google+
1 Reply


P: n/a
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 discussion thread is closed

Replies have been disabled for this discussion.