📅  最后修改于: 2022-03-11 14:45:24.340000             🧑  作者: Mango
import gzip
import shutil
with gzip.open('amazon_reviews_us_Books_v1_00.tsv.gz', 'rb') as f_in:
with open('amazon_books.tsv', 'wb') as f_out:
shutil.copyfileobj(f_in, f_out)