[Python-3000] Providing compress/uncompress functions in gzip

Oleg Broytmann phd at phd.pp.ru
Fri Aug 1 16:02:25 CEST 2008


On Fri, Aug 01, 2008 at 07:27:38PM +0530, Anand Balachandran Pillai wrote:
> Of these, I have a gripe with gzip - it does not provide a simple
> way of compressing/uncompressing a string

   It does. It is zlib.compress() and zlib.decompress().

Oleg.
-- 
     Oleg Broytmann            http://phd.pp.ru/            phd at phd.pp.ru
           Programmers don't die, they just GOSUB without RETURN.


More information about the Python-3000 mailing list