[wingide-users] Different sys.path between Python Shell and Debug Probe

Jonathan Mozes jon at rayv.com
Tue Feb 12 04:22:34 MST 2008


Hi,

 

An interesting difference between the Python Shell Tool and the Debug
Probe Tool is that their sys.path list is different.

This, of course, causes module execution to differ between the two
tools. Any idea why this is happening?

 

Jon

 

Python Shell Tool:

>>> sys.path

['', 'C:\\Program Files\\Wing IDE 3.0\\src\\debug\\tserver',
'C:\\Python24\\lib\\site-packages\\pylons-0.9.4.1-py2.4.egg',
'C:\\Python24\\lib\\site-packages\\nose-0.9.1-py2.4.egg',
'C:\\Python24\\lib\\site-packages\\simplejson-1.5-py2.4.egg',
'C:\\Python24\\lib\\site-packages\\formencode-0.6-py2.4.egg',
'C:\\Python24\\lib\\site-packages\\myghty-1.1-py2.4.egg',
'C:\\Python24\\lib\\site-packages\\pastescript-1.1-py2.4.egg',
'C:\\Python24\\lib\\site-packages\\pastedeploy-1.1-py2.4.egg',
'C:\\Python24\\lib\\site-packages\\paste-1.1.1-py2.4.egg',
'C:\\Python24\\lib\\site-packages\\beaker-0.6.2-py2.4.egg',
'C:\\Python24\\lib\\site-packages\\webhelpers-0.2.2-py2.4.egg',
'C:\\Python24\\lib\\site-packages\\routes-1.6.2-py2.4.egg',
'C:\\Python24\\lib\\site-packages\\cheetah-1.0-py2.4.egg',
'C:\\Python24\\lib\\site-packages\\myghtyutils-0.52-py2.4.egg',
'C:\\Python24\\lib\\site-packages\\setuptools-0.6c5-py2.4.egg',
'C:\\Python24\\lib\\site-packages\\quickwiki-0.1.3-py2.4.egg',
'C:\\Python24\\lib

\\site-packages\\sqlalchemy-0.3.4-py2.4.egg',
'C:\\Python24\\lib\\site-packages\\docutils-0.4-py2.4.egg',
'C:\\Python24\\lib\\site-packages\\formbuild-0.1.6b-py2.4.egg',
'C:\\Python24', 'C:\\dev\\trunk\\pydev',
'C:\\WINDOWS\\system32\\python24.zip', 'C:\\Python24\\DLLs',
'C:\\Python24\\lib', 'C:\\Python24\\lib\\plat-win',
'C:\\Python24\\lib\\lib-tk', 'C:\\Python24\\lib\\site-packages',
'C:\\Python24\\lib\\site-packages\\win32',
'C:\\Python24\\lib\\site-packages\\win32\\lib',
'C:\\Python24\\lib\\site-packages\\Pythonwin',
'C:\\Python24\\lib\\site-packages\\wx-2.8-msw-ansi']

 

Debug Probe Tool:

>>> sys.path

['C:\\dev\\trunk\\pydev\\pystol', 'C:\\Python24',
'C:\\dev\\trunk\\pydev', 'C:\\WINDOWS\\system32\\python24.zip', '',
'C:\\Python24\\DLLs', 'C:\\Python24\\lib',
'C:\\Python24\\lib\\plat-win', 'C:\\Python24\\lib\\lib-tk',
'C:\\Python24']

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: /pipermail/wingide-users/attachments/20080212/fb424b6a/attachment.html


More information about the wingide-users mailing list