flebber <[EMAIL PROTECTED]> writes:
> Hi Can anyone show me a working example of how to use gzip to
> decompress a file. I have read the docs at python.org and had many
> goes at it but just can't get it to work.

Untested in this instance, but this is how I usually do it:

    import gzip

    z = gzip.open('parrot.gz')
    for line in z:
       ...
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to