view tools/base64 @ 2765:3468f74bd7ce

fix copy/paste error made in r1.114
author Alexander Smishlajev <a1s@users.sourceforge.net>
date Sat, 16 Oct 2004 13:31:29 +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/