py2exe setup script problem

Thomas Heller theller at python.net
Tue May 25 15:19:29 EDT 2004


>> What do you expect to happen?  If program creates
>> output, you need a console window to display it
>> (unless you use GUI interface).  Without console
>> output has no where to go.  I actually use this
>> to my advantage on some lights-out applications
>> that write all their output to log files.
>
> I _do_ use a GUI interface. Let me be more precise as I obviously
> failed to clear up some things.
>
> If I use the console = [] attribute, the console window is created and
> the GUI is started as intended, just as when I execute the .py-File.
>
> However, using windows = [], doesn't show any signs of a running
> programm other than the process running in the task-list which I have
> to shut down manually.

There's a bug when using windows=[] which may be triggered when you
don't have an
  import sys
in your main script.  Reading the py2exe/boot_common.py file might give
you a hint.  If you can, please get the py2exe CVS version and try with
this.

Thomas





More information about the Python-list mailing list