Another where I replied off-list. :(<br><br>
<div><span class="gmail_quote">On 12/26/06, <b class="gmail_sendername">Luke Paireepinart</b> <<a href="mailto:rabidpoobear@gmail.com">rabidpoobear@gmail.com</a>> wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div>Python is installed just like any other program.</div>
<div>If you install Counter-Strike 1.5, and then Counter-Strike 1.6 (video games), the shortcut on your desktop will be changed to refer to Counter-Strike 1.6. Changing environment variables wouldn't change this.</div>
<div> </div>
<div>When you right-click something and you see shortcuts such as 'unzip with Win-Rar', 'edit with IDLE', etc. It is in essence the same as such a shortcut would be on your desktop, except it's specific to the object you have selected, whereas a shortcut wouldn't be.
</div>
<div> </div>
<div>Okay, so when you installed python 2.3, IDLE was installed with it (the version of IDLE that comes with python2.3 in the WIndows binaries). When you installed python 2.4, IDLE (the version that comes with the python
2.4 WIndows binaries) was installed into your python 2.4 install path. Now during each install, context menu options are added for files with .py, .pyw, etc. that are called 'edit with IDLE'. the ones that were added during the second install (
2.4) overwrote the context menu options of the python 2.3 install.</div>
<div> </div>
<div>Also note that you now have 2 installs of IDLE, in each Python directory.</div>
<div> </div>
<div>This can be rectified (assuming you think it's a problem that the 2.4 version of IDLE is being used) by following these steps:</div>
<div>open "My Computer", press Alt, T, O. (tools -> folder options)</div>
<div>select "File Types" tab.</div>
<div>scroll down to PY</div>
<div>choose ADVANCED</div>
<div>there should be an option that says "Edit with IDLE"</div>
<div>(I don't have python on this computer, can't check. Should be pretty obvious waht you want to choose here)</div>
<div>select that option, and click "Edit"</div>
<div>change the 'Application used to perform this action:' field from c:\Python2.4\whatever</div>
<div>to c:\Python2.3 or wherever you instaleld python 2.3</div>
<div>make sure not to change any of the parameters that IDLE gets passed here, though.</div>
<div>I.E. don't use 'Browse' to find the python 2.3 version of IDLE because it may (read: probably will) delete the command line options you have set there.</div>
<div> </div>
<div>HTH,</div><span class="sg">
<div>-Luke</div></span>
<div><span class="e" id="q_10fbd783d25dfd8e_2">
<div> </div>
<div><span class="gmail_quote">On 12/25/06, <b class="gmail_sendername">linda.s</b> <<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:samrobertsmith@gmail.com" target="_blank">samrobertsmith@gmail.com
</a>> wrote:</span></div>
<div>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">in my computer, there are python 2.3 and 2.4<br>Every time I right click a python code and select "edit with IDLE", it
<br>goes to python2.4; I am very curious why it does not got to python 2.3<br>because I set python 23 in my PYTHONPATH in the My Computer -<br>Properties - Advanced - Environment Variables.<br>_______________________________________________
<br>Tutor maillist - <a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:Tutor@python.org" target="_blank">Tutor@python.org</a><br><a onclick="return top.js.OpenExtLink(window,event,this)" href="http://mail.python.org/mailman/listinfo/tutor" target="_blank">
http://mail.python.org/mailman/listinfo/tutor</a><br></blockquote></div><br></span></div></blockquote></div><br>