How to close the DOS Shell when starting a python script
Wildemar Wildenburger
wildemar at freakmail.de
Sun Sep 24 13:40:31 EDT 2006
Paddy wrote:
> Rename the .py file with extension .pyw.
> - Paddy.
>
To elaborate: This works because, by default, .py files are associated
with python.exe and .pyw files are associated with pythonw.exe, the
latter not opening a console window.
You can actually run a .py file with pythonw.exe without opening a console.
wildemar
More information about the Python-list
mailing list