By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
464,603 Members | 1,057 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 464,603 IT Pros & Developers. It's quick & easy.

Python doc problem example: gzip module (reprise)

P: n/a
>>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/pyt...er/349718.html

have a nice day
Jun 27 '08 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.