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

Jonathan Mozes jon at rayv.com
Thu Feb 14 03:43:59 MST 2008


Yes, This is what I attached in the first mail, and am reattaching now:

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']

-----Original Message-----
From: Wingware Support [mailto:support at wingware.com] 
Sent: Wednesday, February 13, 2008 18:58
To: Jonathan Mozes
Cc: wingide-users at wingware.com
Subject: Re: [wingide-users] Different sys.path between Python Shell and
Debug Probe

Jonathan Mozes wrote:
> sys.path is the same (except the debug\\tserver) between the Python
> Shell Tool and an external Python Shell.

Is the within-debugger (in Debug Probe) path significantly different
than if you run outside the debugger and print sys.path at the same
point in your code?

-- 

Stephan Deibel
Wingware | Python IDE
Advancing Software Development

www.wingware.com



More information about the wingide-users mailing list