Can't get Python for Windows to run

William McBrine wmcbrine at users.sf.net
Fri Jul 4 23:28:32 EDT 2008


On Fri, 04 Jul 2008 16:19:34 +0100, Tim Rowe wrote:

> pythonw.exe (that's the windows executable, right?)

python.exe and pythonw.exe are both Windows executables. There are no non-
Windows executables in a Python for Windows package.

python.exe is used for console apps or interactive sessions.

pythonw.exe suppresses the console window. You use it to launch GUI apps 
that don't need a console. You can't use it for an interactive session, 
and it makes no sense to start it without also specifying a Python 
program to run.

Python source files named with the ".pyw" extension are associated with 
pythonw.exe, while ".py" is associated with python.exe.

-- 
09 F9 11 02 9D 74 E3 5B D8 41 56 C5 63 56 88 C0 -- pass it on



More information about the Python-list mailing list