I have many different pythons installed on my windows 7 development machine. The
default python which I use is installed in
c:\python27
and I have c:\python27 & c:\python27\scripts in my execution path.
However, when I run various other pythons I see the default python path
appearing in their sys.path eg default
C:\Users\rptlab>c:\Python27\python.exe -c"import sys;print('\n'.join(sys.path))"
C:\Python27
C:\Python27\Scripts
C:\Windows\system32\python27.zip
c:\Python27\DLLs
c:\Python27\lib
c:\Python27\lib\plat-win
c:\Python27\lib\lib-tk
c:\Python27\lib\site-packages
c:\Python27\lib\site-packages\FontTools
c:\Python27\lib\site-packages\win32
c:\Python27\lib\site-packages\win32\lib
c:\Python27\lib\site-packages\Pythonwin
c:\python27\lib\site-packages
python 3.6
C:\Users\rptlab>"c:\Python36\python.exe" -c"import
sys;print('\n'.join(sys.path))"
C:\Python27
C:\Python27\Scripts
c:\Python36\python36.zip
c:\Python36\DLLs
c:\Python36\lib
c:\Python36
c:\Python36\lib\site-packages
do I get extra stuff from c:\Python27 because those folders are in my execution
PATH variable; seems a bit dodgy to have those folders ending up in a python 3.6
environment.
--
Robin Becker
_______________________________________________
python-win32 mailing list
python-win32@python.org
https://mail.python.org/mailman/listinfo/python-win32