stringtools/_examples_/gzip_compress.py

9 lines
224 B
Python

import sys # nopep8
sys.path.append('../..') # nopep8
import stringtools
import report
report.default_logging_config()
print(stringtools.hexlify(stringtools.gzip_compress(15 * b'\x00' + 15 * b'\xff')))