Mercurial > p > roundup > code
view tools/base64 @ 4818:edb171528a7d
init.loadTemplateInfo: replace rfc822 with email.parser (Python 3 compatible)
| author | anatoly techtonik <techtonik@gmail.com> |
|---|---|
| date | Sat, 24 Aug 2013 22:40:30 +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()))
