Python Library Stringtools
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

gzip_compress.py 220B

12345678
  1. import sys
  2. sys.path.append('../..')
  3. import stringtools
  4. import report
  5. report.stdoutLoggingConfigure(log_name_lvl=[('root', 'DEBUG'), ])
  6. print(stringtools.hexlify(stringtools.gzip_compress(15 * b'\x00' + 15 * b'\xff')))