<br><br><div class="gmail_quote">On Tue, Oct 13, 2009 at 1:54 PM, Dave Angel <span dir="ltr">&lt;<a href="mailto:davea@ieee.org">davea@ieee.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

Katt wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
&lt;snip&gt;<div class="im"><br>
You were right.  I did not have .PY/.PYW in my PATHEXT.  I have put it in as<br>
suggested.  I do have python.exe in my path so that should take care of things.<br>
<br>
Messing around with the windows registry isn&#39;t something I want to tackle just yet so I will save that for later.<br>
<br>
Thank you for your help,<br>
<br>
Katt<br>
</div></blockquote>
You don&#39;t have to directly mess with the registry.  But if you just enter the script name, you are causing the registry lookups just the same.  As I said, the install took care of it for you, and you shouldn&#39;t have to change till you have two installs.<br>


<br>
But to re-iterate:  When you run a script this way, the PATH is *not* used to look up the Python.exe, but only to search for the script.<br>
<br>
DaveA<div><div></div><div class="h5"><br></div></div></blockquote><div><br></div><span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; color: rgb(51, 51, 51); "><div>

You can do it strictly through the explorer. Right click on any .py or .pyw file and select &#39;properties.&#39; Where it says &#39;open with&#39; click &#39;change.&#39; In the dialog select &#39;other&#39; and browse to python.exe. Make sure it&#39;s the python.exe from the version you want to use. </div>

<div><br></div></span><div><span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; color: rgb(51, 51, 51); ">I just installed python 2.6 and had to do that and set the paths manually as for some reason the installer didn&#39;t do it for me. </span></div>

<div><br></div><div><span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; color: rgb(51, 51, 51); "></span>(oops hit &quot;reply&quot; the first time instead of &quot;reply all.&quot; New to this mailing list thing.) </div>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div><div class="h5">
<br>
_______________________________________________<br>
Tutor maillist  -  <a href="mailto:Tutor@python.org" target="_blank">Tutor@python.org</a><br>
To unsubscribe or change subscription options:<br>
<a href="http://mail.python.org/mailman/listinfo/tutor" target="_blank">http://mail.python.org/mailman/listinfo/tutor</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>This just goes to show that there&#39;s nothing an agnostic can&#39;t do if he really doesn&#39;t know if he believes in anything or not.<br><br>~Monty Python<br>