VocabReminder
Easily build a great vocabulary without studying! Now on the App Store!
Click here for more info about the app

Python Zlib Compress DeCompress

       

import zlib
regular_string = 'this is my string'
compressed_string = zlib.compress(regular_string)
decompressed_string = zlib.decompress(compressed_string)

print compressed_string
print decompressed_string
Tagged w/ #compression #import #python #zlibpython