view tools/base64 @ 4964:2c3cc4ccd024

Automatic tests: added some notes to the readme and a test_jinja2 stub.
author Bernhard Reiter <bernhard@intevation.de>
date Mon, 16 Feb 2015 17:43:58 +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()))

Roundup Issue Tracker: http://roundup-tracker.org/