[Tutor] How to eliminate the background command window?

David Rock david at graniteweb.com
Wed Jan 7 17:35:58 EST 2004


* Todd G. Gardner <piir at earthlink.net> [2004-01-07 17:21]:
> Hello,
> 
> I would like to know what I am not doing here.  Every progran I write in
> Python on WXP shows a background command window unless I build a .exe using
> py2exe with the -w option.
> 
> How can I get rid of the back ground command window?

I believe you can accomplish this by naming your pythin script with a
.pyw extention to tell the system it is a "Windows Python" script rather
than a "DOS Python" script.

-- 
David Rock
david at graniteweb.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://mail.python.org/pipermail/tutor/attachments/20040107/1495219d/attachment.bin


More information about the Tutor mailing list