import a module from an archive ?
vincent Salaun
vincent.salaun at zslide.com
Mon Mar 29 09:00:18 EST 2004
hi all,
i'd like to know if it's possible to import a module from an archive
(zip, rar, tar, jar, ...)
I've tried using different formats but it still doesn't work .....
i make:
>>>sys.path.append('d:/myModules.zip')
>>>import aModuleFromTheArchive
is there a way to do that ?
the problem is that i've embed a python interpreter in our java app and
our scripts need some standard modules from python and jython but the 2
'Lib' directories of python and jython are a bit heavy : 8Mb ....
thx,
vince
More information about the Python-list
mailing list