Mercurial > p > roundup > code
view tools/base64 @ 4847:843886af0ea1
Reformat previous change (3e36a3bc0335) to 80 chars
| author | Thomas Arendsen Hein <thomas@intevation.de> |
|---|---|
| date | Wed, 13 Nov 2013 11:12:55 +0100 |
| 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()))
