[Python-Dev] Re: .DLL vs .PYD search order

James C. Ahlstrom jim@interet.com
Wed, 01 Dec 1999 15:44:00 -0500


Gordon McMillan wrote:

> Make that:
>  [ os.path.dirname(sys.executable),
>    os.getcwd(),
>    win32api.GetSystemDirectory(),
>    os.path.join(win32api.GetSystemDirectory(), '../SYSTEM'),
>    win32api.GetWindowsDirectory()
>  ] + string.split(os.environ['PATH'], ';')

Very nice!  "../SYSTEM" needed on NT I guess.

JimA