[Tutor] How to use Python 2.6 with IDLE?

Dick Moores rdmoores at gmail.com
Mon Jul 27 09:54:13 CEST 2009


I've taken a long break from Python, and now I want to try scripting
with 2.62. I downloaded and installed 2.62, changed Win XP
environmental variables to use Python26. Entering python at the
command line shows I'm using 2.62:

C:\Documents and Settings\Riley>python
Python 2.6.2 (r262:71605, Apr 14 2009, 22:40:02) [MSC v.1500 32 bit
(Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>>

So I'm able to try out the new features of 2.6 (I had been using
2.51), but I can't get IDLE to use 2.6. When I click on
E:\Python26\Lib\idlelib\idle.pyw, I get an IDLE instance that says:
Python 2.5.1 (r251:54863, Apr 18 2007, 08:51:08) [MSC v.1310 32 bit
(Intel)] on win32
Type "copyright", "credits" or "license()" for more information.

And of course, the new 2.6 features don't work.

Advice, please.

Thanks,

Dick Moores


More information about the Tutor mailing list