py2exe question

Alex Martelli aleaxit at yahoo.com
Sat Nov 1 04:02:58 EST 2003


achrist at easystreet.com wrote:

> The py2exe says that a console app should have the --console option
> and a windows app should have the --windows option.
> 
> What is the way to py2exe a python program that uses both console and
> windows gui?

Haven't tried, but logically it should be a console -- this doesn't restrict 
what OTHER modules you can import, it just uses the equivalent of a .py 
script run with python.exe rather than a .pyw run with pythonw.exe, i.e. a 
"DOS box" console does appear when the program is run.


Alex





More information about the Python-list mailing list