GMgKe586q6suSQnyqZLlGCooeWM
Learn To Program
Increase Your Knowlegde and Build Your Skill!
Pages
Home
Me
Search
Monday, March 21, 2011
Python - Data Compression With zlib
The first step is import it
>>> import zlib
Then do compress your data
>>> data = 'What this would like to be compressed if you do what you hope'
>>> comprez = zlib.compress(data)
If you want to decompress it, use
>>> decomprez = zlib.decompress(comprez)
Python - Data Compression With zlib
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment