would be nice: import from archive

Paul Rubin http
Fri Aug 27 15:05:33 EDT 2004


aleaxit at yahoo.com (Alex Martelli) writes:
> > Here is a python feature that I would like: to be able to import modules
> > from an archive like the jar files in Java.  Maybe a regular tar file?
> 
> Python 2.3 lets you import modules from a zipfile.  The zip format is
> better than tar when you just need to get one file from it, which is why
> java's jar files are also basically zipfiles.

Jar files are -signed- zip files.  Is there some reason to not do that
for Python?



More information about the Python-list mailing list