DEBSOURCES
Skip Quicknav
sources / python-isal / 1.7.2-1 / benchmark_scripts / gzipread128kblocks.py
123456789
import sys from isal import igzip with igzip.open(sys.argv[1], "rb") as gzip_file: while True: block = gzip_file.read(128 * 1024) if not block: break