GUI2Exe - Building an Exe from pythonw

32 views
Skip to first unread message

Mike Driscoll

unread,
Jan 28, 2010, 3:56:43 PM1/28/10
to GUI2Exe
Hi,

I need to create a really simple application using pythonw.exe with a
pyw file. I can't see a way to do this with GUI2Exe. Is that not
possible?

- Mike

Mike Driscoll

unread,
Jan 29, 2010, 3:12:57 PM1/29/10
to GUI2Exe

Basically, I want to create an exe that doesn't display a console
window. I tried telling it to use "window" instead of "console", but
that didn't work.

- Mike

Andrea Gavana

unread,
Feb 1, 2010, 10:37:27 AM2/1/10
to gui...@googlegroups.com
Hi Mike,

In which sense "it didn't work"? Does GUI2Exe create the executable or
are you getting some tracebacks somewhere? As far as I know, using
"windows" in py2exe should always work...

Andrea.

"Imagination Is The Only Weapon In The War Against Reality."
http://xoomer.alice.it/infinity77/
http://thedoomedcity.blogspot.com/

Mike Driscoll

unread,
Feb 1, 2010, 4:29:40 PM2/1/10
to gui...@googlegroups.com
On Mon, Feb 1, 2010 at 9:37 AM, Andrea Gavana <andrea...@gmail.com> wrote:
> Hi Mike,
>
> On 29 January 2010 20:12, Mike Driscoll wrote:
>>
>>
>> On Jan 28, 2:56 pm, Mike Driscoll <kyoso...@gmail.com> wrote:
>>> Hi,
>>>
>>> I need to create a really simple application using pythonw.exe with a
>>> pyw file. I can't see a way to do this with GUI2Exe. Is that not
>>> possible?
>>>
>>> - Mike
>>
>> Basically, I want to create an exe that doesn't display a console
>> window. I tried telling it to use "window" instead of "console", but
>> that didn't work.
>
> In which sense "it didn't work"? Does GUI2Exe create the executable or
> are you getting some tracebacks somewhere? As far as I know, using
> "windows" in py2exe should always work...
>
> Andrea.
>

Oops...Sorry. I usually explain better. Anyway, the dialog created to
choose files with is locked on only *.py, so I couldn't select the pyw
version.

Thus, there are no errors per se since I couldn't even compile against
that file.

- Mike

Andrea Gavana

unread,
Feb 2, 2010, 3:00:18 AM2/2/10
to gui...@googlegroups.com
Hi Mike,

What I meant is: just use the *.py file and select "windows" as
executable kind. This tells py2exe to use pythonw to create an
executable so there should be no extra dos window for your app.

Reply all
Reply to author
Forward
0 new messages