def uncompress(path):
    with gzip.open(path, 'rb') as src:
        with open(path.rstrip('.gz'), 'wb') as dest:
            shutil.copyfileobj(src, dest)
with multiprocessing.Pool() as pool:
    pass
How to unzip multiple gz files in python using multi threading?