...

Now I believe I see your problem...

Your "usual error message" was, I believe , that (x) is not a valid Win32 app.  Python scripts are NOT Win32 apps - and IDLE itself is a Python script.  You need to tell Windows to open .py files with IDLE, but first you need to tell Windows to open IDLE itself with Python.  Sounds like a job for... a batch file!

Fortunately, there already is one.  Try assigning .py files to \Python25\Lib\idlelib\idle.bat instead.
I tried the bat approach. As far as I can tell nothing has changed.  Same msg if I try to open a py file with idle.pyw.   It's been awhile since I used a bat file, but what are the %s for? Usually, they are arguments. Was I supposed to supply them?
I used:
C:\Python25\Lib\idlelib>idle.bat
C:\Python25\Lib\idlelib>


  If for some reason it doesn't exist, you can create one with the following contents:

@echo off
rem Start IDLE using the appropriate Python interpreter
set CURRDIR=%~dp0
start "IDLE" "%CURRDIR%..\..\pythonw.exe" "%CURRDIR%idle.pyw" %1 %2 %3 %4 %5 %6 %7 %8 %9




-- 
           Wayne Watson (Watson Adventures, Prop., Nevada City, CA)

             (121.015 Deg. W, 39.262 Deg. N) GMT-8 hr std. time)
              Obz Site:  39° 15' 7" N, 121° 2' 32" W, 2700 feet

             "My suspicion is that the universe is not only queerer 
              than we suppose, but queerer than we can suppose." --
              Physiologist and Geneticist J.B.S. Haldane 1860-1936

                    (Maybe not, Dr. Haldane. We have an 
                     amazing imagination)
        
                    Web Page: <www.speckledwithstars.net/>


_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor

Reply via email to