How to close the DOS Shell when starting a python script

m.errami at gmail.com m.errami at gmail.com
Mon Sep 25 18:51:52 CEST 2006


Wildemar Wildenburger wrote:
> 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


Paddy and Wildemar. Thank you. That was easy!

M.E.




More information about the Python-list mailing list