I installed a different version of Python but how to choose edit with IDLE to open scripts in python 2.7 or python 3.2 on my Windows desktop?

what I have done on my windows 7 is that I have installed both versions on it , then have created short cuts of each idle on the desktop and just use whichever I want . I think vegaseat has posts on this matter too

Write these two batch files and put a shortcut of each on your desk top:

rem save as idle27.bat
rem run the IDLE IDE with Python27
C:\Python27\pythonw.exe -u  C:\Python27\Lib\idlelib\idle.pyw


rem save as idle32.bat
rem run the IDLE IDE with Python32
C:\Python32\pythonw.exe -u  C:\Python32\Lib\idlelib\idle.pyw

If you use an IDE like Ninja, then you can switch beteeen different versions of Python by following the tabs:
then simply edit the Python Path field.
If it shows
replace the 32 with 27

The Ninja IDE is free from:

Edited 2 Years Ago by sneekula

This question has already been answered. Start a new discussion instead.