Hiding console window
Josef Meile
jmeile at hotmail.com
Thu Mar 18 09:29:15 EST 2004
Peter Hansen wrote:
> Lucas Raab wrote:
>
>> I'm looking to play a joke on a friend and I'm wondering if there's a
>> way to
>> not show or hide the DOS console. My friend doesn't have python so I
>> have to
>> compile it to an EXE.
>
>
> Use py2exe to compile Python programs to EXEs.
>
> You would need to define what "hide" means to you to get a useful answer
> to the first part of the question. I would just click on the "close"
> gadget in the upper right corner, if I wanted to "hide" a DOS console...
>
> -Peter
I think there is a way of telling py2exe that the program is a windows
exe, so you won't see the console. You just have to invoque the py2exe
help. If I'm not wrong the option should be "--help" or "-h"
Regards,
Josef
More information about the Python-list
mailing list