Data Compression : Compress : Development : Python examples (example source code) Organized by topic

C++
PHP
Python
Python Home »  Development   » [  Compress  ]  Screenshots 
 



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 examples in the same category
























Home| Contact Us
Copyright 2003 - 04 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.