Message175838
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/"> |
|
Date |
User |
Action |
Args |
2012-11-18 01:20:43 | brett.cannon | set | recipients:
+ brett.cannon, ncoghlan, berker.peksag |
2012-11-18 01:20:43 | brett.cannon | set | messageid: <1353201643.54.0.0984643586286.issue16497@psf.upfronthosting.co.za> |
2012-11-18 01:20:43 | brett.cannon | link | issue16497 messages |
2012-11-18 01:20:43 | brett.cannon | create | |
|