[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.python

Help xxx.py Program Recognition problem

crashbangboom

3/8/2008 5:48:00 PM

Hi...

I was using Python 2.4 and installed 2.5...I copied all my .py files
from the Python24\ root directory to the Python25\ root
directory...when I try to run them by double clicking I get:
"XXXXX.py is not a valid Win32 application"...

Also, the files do not appear to be associated with python...?

I can run them from IDLE...but that is it...

How do I fix this...?

Thanks..

Dave
1 Answer

vpalexander

3/9/2008 10:04:00 AM

0

On Mar 8, 9:48 am, crashbangb...@gmail.com wrote:
> Hi...
>
> I was using Python 2.4 and installed 2.5...I copied all my .py files
> from the Python24\ root directory to the Python25\ root
> directory...when I try to run them by double clicking I get:
> "XXXXX.py is not a valid Win32 application"...
>
> Also, the files do not appear to be associated with python...?
>
> I can run them from IDLE...but that is it...
>
> How do I fix this...?
>
> Thanks..
>
> Dave

It sounds like you just want the dbl-click Explorer association ...
that it should establish by default ... you can use Explorer -> Tools -
> Folder Options -> File Types to indicate that you want Idle to
launch .py files.

Also, probably a silly question, but did you verify the download was
the right Win OS version?