py2exe command line window problem
theller at python.net
Wed Jul 23 08:44:54 CEST 2003
kevin at cazabon.com (Kevin Cazabon) writes:
> instead of using "python setup.py py2exe" try "pythonw setup.py
> py2exe" from your application.
No, it should not matter how the build process itself is run.
> prashsingh at yahoo.com (Prashant Singh) wrote in message news:<1ee79758.0307220827.78f8571 at posting.google.com>...
>> I'm using py2exe to create a standalone executable from a Python
>> script, and I would like the script to run invisibly, i.e. without a
>> console window and without any interactive GUI. The script is a helper
>> app, which simply downloads and runs some other program.
>> I've tried passing the -w flag to the script, and I've also tried
>> renaming it with a .pyw extension, but when the executable is run an
>> empty console window opens with the title "C:\WINNT\system32\cmd.exe".
>> I've checked, and there are no print statements, which might cause
>> py2exe to assume it's still a console app.
Could it be that the DOS-box is not opened from the standalone
executable, but from the programs Prashant starts from it?
More information about the Python-list