view tools/base64 @ 4179:e81df731d2d2 gsoc-2009

some more porting to vcs agnostic stuff
author Pygi <pygi@users.sourceforge.net>
date Tue, 07 Jul 2009 15:16:36 +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/