Path problem and Idle vs shell difference

Gordon McMillan gmcm at hypernet.com
Mon May 17 22:44:43 EDT 1999


Emile van Sebille writes:

> From within idle:
> 
> Python 1.5.2 (#0, Apr 13 1999, 10:51:12) [MSC 32 bit (Intel)] on
> win32 Copyright 1991-1995 Stichting Mathematisch Centrum, Amsterdam
> >>> import sys
> >>> for i in sys.path:
>     i
> 
> D:\Program Files\Python\Tools\idle
> D:\PROGRA~1\PYTHON\TOOLS\IDLE
> D:\PROGRA~1\PYTHON\LIB
> D:\Program Files\Python\Lib\plat-win
> D:\Program Files\Python\Lib
> D:\Program Files\Python\DLLs
> D:\Program Files\Python\Lib\lib-tk
> D:\PROGRAM FILES\PYTHON\DLLs
> D:\PROGRAM FILES\PYTHON\lib
> D:\PROGRAM FILES\PYTHON\lib\plat-win
> D:\PROGRAM FILES\PYTHON\lib\lib-tk
> D:\PROGRAM FILES\PYTHON

> Also, I'd like to clean up sys.path and eliminate the 8.3 and case
> equivalents, but so far have not located where it originates.  Any
> help?

On NT, I just tried 3 ways: from a cmd prompt, from Pythonwin and 
from IDLE. In no case do I have any all-uppercase names (however, I 
use NTFS which behaves somewhat differently from FAT systems in 
this regard). In IDLE only I get one 8.3-ized directory name. Doesn't 
seem to hurt anything.

ignoring-any-sense-of-IDLE-curiosity-ly y'rs

- Gordon




More information about the Python-list mailing list