view tools/base64 @ 4713:c92fcb355911

Template responsive: make demo.py work out of the box with it, by setting the static_files config.ini setting to "static".
author Bernhard Reiter <bernhard@intevation.de>
date Fri, 28 Dec 2012 00:18:45 +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/