Python 2.4 on Windows XP

Jeff Shannon jeff at
Wed Jan 5 16:33:06 EST 2005

It's me wrote:

> In my case, there is *no* error message of any kind.  When I run pythonw.exe
> from the python23 directory, the screen blinked slightly and goes back to
> the command prompt.

Right -- pythonw.exe is a console-less interpreter.  Having no 
console, it doesn't have an interactive mode, and since you didn't 
give it a script to run, it simply started, found nothing to do, and 
then terminated itself.

You need to run idle.pyw, *not* pythonw.exe.  The idle.pyw script runs 
inside the pythonw.exe interpreter, but the latter can't do anything 
without instructions.

Jeff Shannon
Credit International

More information about the Python-list mailing list