Brett Cannon added the comment: It actually does work, you just have to embed the subdirectory in the path you pass to zipimport.zipimporter():
>>> importer = zipimport.zipimporter('zipimport_example.zip/package/') >>> importer.find_module('package.eggs') <zipimporter object "modules.zip/package/"> ---------- resolution: -> invalid status: open -> closed _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue16497> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com