Hello there, Has anyone used this module before (zlib)? Can anyone show me an example of how to use it? I have REALLY tried to search for it but nothing comes out. Thanks in advance, Belen
Hi Belen, if all questions were so easy ;) You might wish to read: http://www.python.org/doc/current/lib/module-zlib.html Even http://www.python.org/doc/current/lib/module-gzip.html and http://www.python.org/doc/current/lib/module-zipfile.html may be of interrest. Regards Tino --On Dienstag, 10. Juli 2001 13:45 +0100 belen@netcom.no wrote:
Hello there,
Has anyone used this module before (zlib)? Can anyone show me an example of how to use it? I have REALLY tried to search for it but nothing comes out.
Thanks in advance,
Belen
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
http://www.python.org/doc/current/lib/module-zlib.html
From: <belen@netcom.no> Subject: [Zope] zlib Hello there,
Has anyone used this module before (zlib)? Can anyone show me an example of how to use it? I have REALLY tried to search for it but nothing comes out.
or a very stupid example: import zlib data = 'some very long data.....' x = zlib.compress(data,9) print zlib.decompress(x) Easy, isn't it ? Andreas ----- Original Message ----- From: "Andreas Jung" <andreas@andreas-jung.com> To: <belen@netcom.no>; <zope@zope.org> Sent: Dienstag, 10. Juli 2001 08:47 Subject: Re: [Zope] zlib
http://www.python.org/doc/current/lib/module-zlib.html
From: <belen@netcom.no> Subject: [Zope] zlib Hello there,
Has anyone used this module before (zlib)? Can anyone show me an example of how to use it? I have REALLY tried to search for it but nothing comes out.
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
participants (3)
-
Andreas Jung -
belen@netcom.no -
Tino Wildenhain