compression level with tarfile (w:gz) ?

Esmail ebonak at hotmail.com
Mon Aug 10 10:52:35 EDT 2009


Benjamin Kaplan wrote:
> 
>> I can't find tarfile.gzopen  in the tarfile docs, I'm looking here:
>>
>>    http://docs.python.org/library/tarfile.html
>>
>> Am I looking at the wrong page?
>>
> 
> My mistake. It isn't a function of the tarfile module, it's a class
> method of tarfile.TarFile. I was looking at the help in the
> interactive interpreter. It doesn't seem to be in the official docs,
> but you can use pydoc to view the docstrings.

Thanks for the additional information,

Esmail




More information about the Python-list mailing list