[issue798876] windows sys.path contains nonexistant directory

Quentin Gallet-Gilles report at bugs.python.org
Wed Dec 5 16:06:44 CET 2007


Quentin Gallet-Gilles added the comment:

I'm able to reproduce it on 2.4, 2.5 and it's most likely still here in
the trunk. Is it still considered a bug ?


>>> import sys

>>> import os

>>> for file in sys.path:

...     print "%s - %s" % (file, os.path.exists(file))

...

: False

C:\WINNT\system32\python25.zip : False

C:\PYTHON25 : True

C:\Python25\DLLs : True

C:\Python25\lib : True

C:\Python25\lib\plat-win : False

C:\Python25\lib\lib-tk : True

C:\Python25\lib\site-packages : True

----------
nosy: +quentin.gallet-gilles
versions: +Python 2.4, Python 2.5

____________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue798876>
____________________________________


More information about the Python-bugs-list mailing list