Mercurial > p > roundup > code
view tools/base64 @ 5018:7cfd30cc8cfa
website: Reword code section, explain are why using SF and
Mercurial to host our sources and link to unnoficial GitHub
mirror
| author | anatoly techtonik <techtonik@gmail.com> |
|---|---|
| date | Fri, 08 Jan 2016 18:04:32 +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()))
