Mercurial > p > roundup > code
view tools/base64 @ 5366:b87a1f51ac32
As far as I can tell, gmane and nabble archives are gone/not being
updated anymore. gmane may be archived at permalink.gmane.org, but
it's not updated or really browsable.
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Wed, 18 Jul 2018 21:31:12 -0400 |
| 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()))
