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: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dllproc/base/dynamic-link_library_search_order.asp As you can see, the directory containing the application is searched first. Regards, Martin -- http://mail.python.org/mailman/listinfo/python-list