>>> fileToCompress = open('finalcallejon.mb')
>>> fileToStr = fileToCompress.read()
>>> import gzip
>>> fileZipped = gzip.GzipFile('finalcallejon.mb.gz', 'wb', 9)
>>> fileZipped.write(fileToStr)
>>> fileZipped.close()this may help you in http://mail.python.org/pipermail/python-list/2005-November/349718.html have a nice day
<<Emoticon1.gif>>
-- http://mail.python.org/mailman/listinfo/python-list
