"Martin v. Löwis" martin at
Wed Nov 15 22:33:56 CET 2006

John Salerno schrieb:
> Is it safe to assume that if you do this, Python first looks in
> C:\Python25 for the dll file, before trying to find the non-existent (on
> the USB drive) C:\Windows\System32?

python25.dll is found through mechanisms of the operating system, not
through code in Python. The operating system loads DLLs in the order
specified here:

As you can see, the directory containing the application is searched first.


More information about the Python-list mailing list