[Tutor] How to eliminate the background command window?

Alan Gauld alan.gauld at blueyonder.co.uk
Thu Jan 8 02:26:35 EST 2004


> 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?

remame the top level script from .py to .pyw.

Or just use pythonw to launch the script instead of python.

Alan g.




More information about the Tutor mailing list