Can't get Python for Windows to run

T

Tim Rowe

I have Python 2.5 working just fine on my system.

I've tried downloading and installing the MS Windows Python
extensions, but can't get pythonw.exe (that's the windows executable,
right?) to do anything. I double-click it, nothing happens. I run it
from a command prompt, it just returns me to the command prompt.

The only possible clue I have is that the installation process
produced the error message:

"Can't install shortcuts - 'C:\\Documents and Settings\\All
Users\\Start Menu\\Programs\\Python 2.5' is not a folder"

That's right, it isn't a folder -- the relevant folder would have been
C:\\Documents and Settings\\All Users\\Start
Menu\\Programs\\Programming\\Python 2.5'

but the installer never gave me the chance to choose that.

That woudn't stop me running Pythonw directly from the folder in which
it's installed, though, would it?
 
W

William McBrine

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,230
Members
46,819
Latest member
masterdaster

Latest Threads

Top