470,863 Members | 1,323 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,863 developers. It's quick & easy.

Python doc problem example: gzip module (reprise)

>>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
0 738

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by Matthew Thorley | last post: by
10 posts views Thread by Xah Lee | last post: by
20 posts views Thread by Xah Lee | last post: by
14 posts views Thread by Bill | last post: by
reply views Thread by Kurt B. Kaiser | last post: by
1 post views Thread by John Nagle | last post: by
4 posts views Thread by Aidan | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.