<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
...<br>
<blockquote
cite="mid:CAKK8jXb=G1YZ2RGKodS3oUy7j33igneH05+0=sQiCZ0SQv9gAQ@mail.gmail.com"
type="cite">
<div class="gmail_quote">
<div><br>
Now I believe I see your problem...<br>
<br>
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!<br>
<br>
Fortunately, there already is one. Try assigning .py files to
\Python25\Lib\idlelib\idle.bat instead.</div>
</div>
</blockquote>
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? <br>
I used:<br>
C:\Python25\Lib\idlelib>idle.bat<br>
C:\Python25\Lib\idlelib><br>
<br>
<br>
<blockquote
cite="mid:CAKK8jXb=G1YZ2RGKodS3oUy7j33igneH05+0=sQiCZ0SQv9gAQ@mail.gmail.com"
type="cite">
<div class="gmail_quote">
<div> If for some reason it doesn't exist, you can create one
with the following contents:<br>
<br>
<blockquote style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px
solid rgb(204, 204, 204); padding-left: 1ex;"
class="gmail_quote">
@echo off<br>
rem Start IDLE using the appropriate Python interpreter<br>
set CURRDIR=%~dp0<br>
start "IDLE" "%CURRDIR%..\..\pythonw.exe"
"%CURRDIR%idle.pyw" %1 %2 %3 %4 %5 %6 %7 %8 %9<br>
</blockquote>
<br>
<div bgcolor="#FFFFFF">
</div>
<br>
<br>
</div>
</div>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
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: <<a class="moz-txt-link-abbreviated" href="http://www.speckledwithstars.net/">www.speckledwithstars.net/</a>>
</pre>
</body>
</html>