gzip
index
/usr/lib/python2.1/gzip.py

Functions that read and write gzipped files.
 
The user of the file doesn't have to worry about the compression,
but random access is not allowed.

 
Modules
            
__builtin__
struct
sys
time
zlib

 
Classes
            
GzipFile

 
class GzipFile
       
  
__del__(self)
__init__(self, filename=None, mode=None, compresslevel=9, fileobj=None)
__repr__(self)
_add_read_data(self, data)
_init_read(self)
_init_write(self, filename)
_read(self, size=1024)
_read_eof(self)
_read_gzip_header(self)
_unread(self, buf)
_write_gzip_header(self)
close(self)
flush(self)
isatty(self)
read(self, size=-1)
readline(self, size=-1)
readlines(self, sizehint=0)
write(self, data)
writelines(self, L)

 
Functions
            
_test()
open(filename, mode='rb', compresslevel=9)
read32(input)
write32(output, value)
write32u(output, value)

 
Data
             FCOMMENT = 16
FEXTRA = 4
FHCRC = 2
FNAME = 8
FTEXT = 1
READ = 1
WRITE = 2
__all__ = ['GzipFile', 'open']
__file__ = '/usr/lib/python2.1/gzip.pyc'
__name__ = 'gzip'