Data Compression : Compress : Development PYTHON examples


PYTHON examples » Development » Compress »

 

Data Compression


Data Compression



import zlib
s = 'witch which has which witches wrist watch'
print len(s)

t = zlib.compress(s)
print len(t)

print zlib.decompress(t)

print zlib.crc32(s)


           
       



    Related Scripts with Example Source Code in same category :

Leave a Comment / Note


 
Verification is used to prevent unwanted posts (spam). .


PYTHON examples

 Navioo Development
» Compress