would be nice: import from archive

Dan Perl dperl at rogers.com
Fri Aug 27 16:23:25 EDT 2004


----- Original Message ----- 
From: "Alex Martelli" <aleaxit at yahoo.com>
Newsgroups: comp.lang.python
Sent: Friday, August 27, 2004 1:37 PM
Subject: Re: would be nice: import from archive


> 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.


[...]

> It's there already, and has been for over a year now;-).
>
> Alex

Alright, alright!  And given the fact that it was added only in 2.3, that
explains why I couldn't find any mention of the feature in 'Python
Cookbook', the 1st ed.  I'm looking forward to seeing it mentioned in the
2nd ed. ;-)

Dan





More information about the Python-list mailing list