Stop popup cmd window

Thomas Heller theller at python.net
Tue Dec 16 08:53:53 EST 2003


hokiegal99 at hotmail.com (hokiegal99) writes:

>> On 15 Dec 2003 13:28:01 -0800, hokiegal99 wrote:
>> > How can I make this script run w/o seeing a cmd popup window on the
>> > screen? The script works well, but each hour (when the task scheduler
>> > runs it) a brief cmd window appears and then goes away. It's only on
>> > the screen for a second or two, but it's noticable.
>> 
>> Use a better OS?  <0.5 wink>
>> 
>> Run it with pythonw.exe instead of python.exe.
>
> How can I specify pythonw.exe over python.exe? The task scheduler has
> no place for this sort of thing.

Name the script 'myscript.pyw' instead of 'myscript.py'.

Thomas




More information about the Python-list mailing list