Mercurial > p > roundup > code
view tools/base64 @ 4689:7a032013bb6a
demo.py: Make executable, remove unused glob import
| author | anatoly techtonik <techtonik@gmail.com> |
|---|---|
| date | Sun, 08 Jul 2012 17:54:29 +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()))
