Google
 
Webnews.only-4-geeks.com
Interesting places
news.only-4-geeks.com Forum Index » Python

Can't get Python for Windows to run

 
Jump to:  
 
Tim Rowe
PostPosted: Fri Jul 04, 2008 1:19 pm    Post subject: Can't get Python for Windows to run
       
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?

--
Tim Rowe
 

 
William McBrine
PostPosted: Sat Jul 05, 2008 1:28 am    Post subject: Re: Can't get Python for Windows to run
       
On Fri, 04 Jul 2008 16:19:34 +0100, Tim Rowe wrote:

Quote:
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
 

Page 1 of 1 .:.

Google
 
Webnews.only-4-geeks.com

Windows Update | C++ | C | PHP | JavaScript | Photoshop | Programming | Windows 2000 | Python | Windows XP | Object | Flash | Flash - ActionScript | Paint Shop Pro | Excel | PowerPoint | Access | Word | Windows 98 | Internet Explorer 6.0 | CorelDraw12 | Java | XML | asm x86 | Linux Mandrake | Linux RedHat | Outlook |  | news from newsgroups |_ | s

Web Templates

Awesome Website Templates ©

Księgowość mieszkania Bydgoszcz Teksty piosenek everest poker Zwrot podatku z anglii