Stop popup cmd window
Daniel Dittmar
daniel.dittmar at sap.com
Tue Dec 16 08:48:35 EST 2003
hokiegal99 wrote:
> How can I specify pythonw.exe over python.exe? The task scheduler has
> no place for this sort of thing.
Give your script a .pyw extension:
[0] d:\ >ftype | grep py
Python.CompiledFile=C:\Python23\python.exe "%1" %*
Python.File=C:\Python23\python.exe "%1" %*
Python.NoConFile=C:\Python23\pythonw.exe "%1" %*
[0] d:\ >assoc | grep Python
.py=Python.File
.pyc=Python.CompiledFile
.pyo=Python.CompiledFile
.pyw=Python.NoConFile
You can also give a full commandline to the scheduler, including the path to
pythonw.exe and the path to your script as the first argument.
Daniel
More information about the Python-list
mailing list