Answers for "decompress gzip nodejs"

2

python Decompress gzip File

import gzip
import shutil
with gzip.open('file.txt.gz', 'rb') as f_in:
    with open('file.txt', 'wb') as f_out:
        shutil.copyfileobj(f_in, f_out)
Posted by: Guest on May-15-2020

Python Answers by Framework

Browse Popular Code Answers by Language