Hello Jaap,

On Sat, Mar 29, 2008 at 06:47:39AM -0700, Jaap wrote:
> Path onder Windows XP Home is:
> D:\Phyton25\;D:\Python25Scripts;%SystemRoot%\system32;%SystemRoot%;
> %SystemRoot%\System32\Wbem
> 
> Als ik de interpreter in PyScripter gebruik, dan krijg ik:
> >>> print sys.path
> ['C:\\Windows\\system32\\python25.zip', 'D:\\Python25\\Lib', 'D:\
> \Python25\\DLLs', 'D:\\Python25\\Lib\\lib-tk', 'C:\\Documents and
> Settings\\<username>', 'D:\\Python25', 'D:\\Python25\\lib\\site-
> packages', 'D:\\Python25\\lib\\site-packages\\PIL', 'D:\\Python25\\lib\
> \site-packages\\win32', 'D:\\Python25\\lib\\site-packages\\win32\
> \lib', 'D:\\Python25\\lib\\site-packages\\Pythonwin']
> 
> Waarom zijn deze paden verschillend?

PATH is the list of directories where Windows looks for executables if
you don't specify an absolute path name. sys.path is where the Python
interpreter looks for the modules to import, see
http://docs.python.org/lib/module-sys.html .

Are you looking for os.environ['PATH'],
http://docs.python.org/lib/os-procinfo.html ?

With kind regards,
-- 
Baurzhan Ismagulov
http://www.kz-easy.com/

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to