Mercurial > p > roundup > code
view tools/base64 @ 5517:0cdf19b82354
Fix issue2550994: breakage caused by configparser backports.
| author | Joseph Myers <jsm@polyomino.org.uk> |
|---|---|
| date | Mon, 20 Aug 2018 00:50:16 +0000 |
| parents | c75defc1c2f0 |
| children | 9c3ec0a5c7fc |
line wrap: on
line source
#!/usr/bin/env python from __future__ import print_function import zlib, base64, sys print(base64.encodestring(zlib.compress(sys.stdin.read())))
