[Tutor] What's up with Python 2.5.1's IDLE?

Kent Johnson kent37 at tds.net
Mon Sep 3 12:34:19 CEST 2007


Dick Moores wrote:
> However, this is what IDLE's shell shows for sys.path:
>  >>> from sys import path
>  >>> for x in path:
> 	print x
> 
> 	
> E:\Python25\Lib\idlelib
> E:\Python24\lib\site-packages\setuptools-0.6c5-py2.4.egg
> C:\WINDOWS\system32\python24.zip
> E:\Python25\Lib\idlelib
> E:\Python24\DLLs
> E:\Python24\lib
> E:\Python24\lib\plat-win
> E:\Python24\lib\lib-tk
> E:\Python24
> E:\Python24\lib\site-packages
> E:\Python24\lib\site-packages\wx-2.6-msw-ansi
> 
> I do still have Python 2.4, but why does Python 2.5.1's IDLE's shell 
> show all those things from 2.4, and only shows the path to itself in 2.5.1?

It looks to me like IDLE is running under 2.4 but using the IDLE package 
from 2.5.

Kent


More information about the Tutor mailing list