view tools/base64 @ 4544:007498b32775

fixed issue2550730: FAQ has broken link to Zope book. Reported and fixed by John Rouillard.
author Bernhard Reiter <Bernhard.Reiter@intevation.de>
date Mon, 17 Oct 2011 07:51:52 +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/