Mercurial > p > roundup > code
view tools/base64 @ 5057:d3efcaa0d6ff
www: Extend code instructions with demo and test commands
| author | anatoly techtonik <techtonik@gmail.com> |
|---|---|
| date | Wed, 04 May 2016 13:57:06 +0300 |
| parents | 740102dfad1d |
| children | c75defc1c2f0 |
line wrap: on
line source
#!/usr/bin/env python import zlib, base64, sys print base64.encodestring(zlib.compress(sys.stdin.read()))
