Why can't I store a DLL in a module library Zip file?

"Martin v. Löwis" martin at v.loewis.de
Sat Jan 10 01:03:11 CET 2009


> It's almost like shared libraries are disallowed from the module
> library Zip format.

Correct. That's a limitation of the Windows operating system, which can
load DLLs only from plain, regular files. Python can load .py files from
zip files because it implements the loading itself. For DLL loading, it
must use the OS routines, which just don't look into zipfiles.

Regards,
Martin



More information about the Python-list mailing list