Python unzip multiple .gz files
Python unzip multiple .gz files Question: I have compressed a file into several chunks using 7zip: HAVE: foo.txt.gz.001 foo.txt.gz.002 foo.txt.gz.003 foo.txt.gz.004 foo.txt.gz.005 WANT: foo.txt How do I unzip and combine these chunks to get a single file using python? Asked By: r0f1 || Source Answers: First you must extract all the zip files sequentially: import …