view tools/base64 @ 4516:85dfe17c182e

Installation: Fixed an issue that prevented to use EasyInstall and a Python egg. Thanks to Satchidanand Haridas for the patch and John Kristensen for testing it.
author Bernhard Reiter <Bernhard.Reiter@intevation.de>
date Fri, 08 Jul 2011 15:28:00 +0000
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/