They are not meant to be the same.  Windows' PATH is the list of 
directories Windows will search for executables when running a command 
from the command line.  Python's sys.path is the list of directories 
Python will search for modules to import.

--Ned.
http://nedbatchelder.com/blog

Jaap wrote:
> Path in Windows XP Home is:
> D:\Phyton25\;D:\Python25Scripts;%SystemRoot%\system32;%SystemRoot%;
> %SystemRoot%\System32\Wbem
>
> When I use the interpreter in PyScripter, I see:
>   
>>>> 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']
>
> Why are these paths different?
>
> >
>
>   

-- 
Ned Batchelder, http://nedbatchelder.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