.pyw file

A Python program file for Windows that runs without opening a console window, used for graphical programs.

In more detail

Windows runs .pyw files with pythonw.exe, which has no terminal, so print output and error messages are not visible. Use .py while developing and switch to .pyw only for a finished graphical program.

Related terms

Taught in

References