I can't remember where/how sys.path is set (aside from the automatically
loaded site.py) and i get a strange entry in it. Can anyone remind me
where/how to control sys.path on a Win32 machine (i'm running XP on the
one where the issue arises).
I can't figure out why the 'C:\WINDOWS\Sys tem32\python23. zip' entry is
inside sys.path. That file/dir does not exist on the disk. Could a
failing (crashing) Pythonwin installation caused that?
Here is what I have:
[Shell buffer started: python]
Python 2.3 (#46, Jul 29 2003, 18:54:32) [MSC v.1200 32 bit (Intel)] on win32
Type "help", "copyright" , "credits" or "license" for more information.[color=blue][color=green][color=darkred]
>>> import sys
>>> for n in sys.path:[/color][/color][/color]
.... print n
....
C:\dev\python
C:\WINDOWS\Syst em32\python23.z ip
C:\Python23\lib \site-packages\Python win
C:\Python23\lib \site-packages\win32
C:\Python23\lib \site-packages\win32\ lib
C:\Python23\lib \site-packages
c:\python23\DLL s
c:\python23\lib
c:\python23\lib \plat-win
c:\python23\lib \lib-tk
c:\python23
c:\python23\lib \site-packages\Numeri c[color=blue][color=green][color=darkred]
>>>[/color][/color][/color]
Thanks
/Pierre
loaded site.py) and i get a strange entry in it. Can anyone remind me
where/how to control sys.path on a Win32 machine (i'm running XP on the
one where the issue arises).
I can't figure out why the 'C:\WINDOWS\Sys tem32\python23. zip' entry is
inside sys.path. That file/dir does not exist on the disk. Could a
failing (crashing) Pythonwin installation caused that?
Here is what I have:
[Shell buffer started: python]
Python 2.3 (#46, Jul 29 2003, 18:54:32) [MSC v.1200 32 bit (Intel)] on win32
Type "help", "copyright" , "credits" or "license" for more information.[color=blue][color=green][color=darkred]
>>> import sys
>>> for n in sys.path:[/color][/color][/color]
.... print n
....
C:\dev\python
C:\WINDOWS\Syst em32\python23.z ip
C:\Python23\lib \site-packages\Python win
C:\Python23\lib \site-packages\win32
C:\Python23\lib \site-packages\win32\ lib
C:\Python23\lib \site-packages
c:\python23\DLL s
c:\python23\lib
c:\python23\lib \plat-win
c:\python23\lib \lib-tk
c:\python23
c:\python23\lib \site-packages\Numeri c[color=blue][color=green][color=darkred]
>>>[/color][/color][/color]
Thanks
/Pierre
Comment