Under Kent's tutelage, I've been experimenting with having no PYTHONDOC, and instead putting a .pth file in E:\Python25\lib\site-packages\ I named pointers.pth. The contents of pointers.pth is: E:\Python25\ E:\PythonWork\ E:\PythonWork\Functions\ E:\Python25\lib\site-packages\ E:\Python25\lib\site-packages\mine
Here's what the Command Prompt shell shows for sys.path: E:\Python25>python Python 2.5.1 (r251:54863, Apr 18 2007, 08:51:08) [MSC v.1310 32 bit (Intel)] on win32 Type "help", "copyright", "credits" or "license" for more information. >>> from sys import path >>> for x in path: ... print x ... E:\Python25\lib\site-packages\setuptools-0.6c5-py2.5.egg E:\Python25\lib\site-packages\dmath-0.9-py2.5.egg C:\WINDOWS\system32\python25.zip E:\Python25\DLLs E:\Python25\lib E:\Python25\lib\plat-win E:\Python25\lib\lib-tk E:\Python25 E:\Python25\lib\site-packages E:\Python25\lib\site-packages\PIL E:\PythonWork E:\PythonWork\Functions E:\Python25\lib\site-packages E:\Python25\lib\site-packages\mine E:\Python25\lib\site-packages\win32 E:\Python25\lib\site-packages\win32\lib E:\Python25\lib\site-packages\Pythonwin E:\Python25\lib\site-packages\wx-2.8-msw-unicode >>> All good. 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? I like the editing ease of having a .pth file rather than a troublesome-to-edit PYTHONDOC, but I need to first clear up the problem with IDLE (which works fine with a PYTHONDOC). Thanks, Dick Moores XP, Python 2.5.1 _______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor