compressing mutiple files by gzip module?
chris.gonnerman at newcenturycomputers.net
Thu Jan 10 00:35:52 EST 2002
----- Original Message -----
From: "Brian Lee" <senux at senux.com>
> Hi everybody,
> Is it possible to compress many files by gzip module? Someone
> say gzip do not support to compress mutiple files in python newgroup
> article in 2000. Still not supported?
No, gzip does not and probably will never support multiple compressed
files at one time... because you are expected to use it with GNU tar.
> Any simple and rock way to compress mutiple files? Ideas?
If you are doing this from Python for general consumption you probably
are looking for the zipfile.py module, which is part of the standard
library in 2.x version. Read the manual.
More information about the Python-list