Mercurial > p > roundup > code
view tools/base64 @ 4599:71b9428a14e5
Found my old contribution from changeset 0112e9e1d068. Fixing credits.
| author | anatoly techtonik <techtonik@gmail.com> |
|---|---|
| date | Mon, 09 Apr 2012 14:40:11 +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()))
