tars and zips

s713221 at student.gu.edu.au s713221 at student.gu.edu.au
Fri Apr 13 07:22:29 EDT 2001


Bob Purvy wrote:
> 
> hi all,
> 
> I have a feeling this is something for which the answer is "get a real
> computer", but anyway:
> 
>     - on our pSOS platform, we don't have any support for tar, zip, or
> any other archive format.  I have Python 2.0 more or less working on it,
> and I've been trying to use the zipfile.py Lib module.  Can someone give
> me the short answer on how to inflate a zip file that's been created
> somewhere else?  There doesn't seem to be any trivial way to do it,
> unless I'm missing something.
> 
>     First of all, I haven't found any references to a Python tar module
> anywhere.  Am I correct that that doesn't exist?

"zlib1.0.4.tar.gz contains C source code for a data compression
library, compatible with gzip, and a Python interface to the zlib data
compression library is in the python/ subdirectory."

On a vanilla python build
>>> import zlib
>>>



More information about the Python-list mailing list