From: Cepl at fpm.cz (Matej Cepl)
Date: Mon, 31 May 1999 14:09:19 +0100
Subject: Gzip.py
Message-ID: <1318D78C9072D11195C9006094EA98A72C2081@ocesrv>
X-UID: 1805                                                

Hi,

I tried to play with gzip.py and it doesn't seem to work. Enclosed
module produced output which Windows Commander as well as gzip refused
to accept as correct gzip archive.

Have you any idea, what's wrong?

			Matthew
------------------------------------------------------------------------
--------
import gzip
import os

inf = open('fre-en_2.htm','r')
outf = gzip.open('fre-en_2.htm.gz','w')
content = inf.read()
inf.close()
print "Debug: content is:"
print content
outf.write(content)
outf.flush()
outf.close()
print "Debug: END"




