Mercurial > p > roundup > code
view tools/base64 @ 4973:9d10838bfdb4
copied improved local_replace over from website.
| author | Bernhard Reiter <bernhard@intevation.de> |
|---|---|
| date | Wed, 11 Mar 2015 08:50:17 +0100 |
| 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()))
