sys.path ordering question

Kerim Borchaev warkid at
Tue Dec 18 10:54:40 CET 2001

Could someone explain the paths ordering logic used to create  sys.path
listed below?
Why win32 extensions are before standard python paths but  Numeric and other
(I know this ordering makes sense - it's how modules are searched.
And in fact I'm asking this to get guidelines how should I arrange my own

>>> import sys
>>> import pprint
>>> pprint.pprint(sys.path)

Thanks in advance...


More information about the Python-list mailing list