view tools/base64 @ 4618:d2b90632fa87

README.txt: Added warning to Chameleon support introduction
author Cheer Xiao <xiaqqaix@gmail.com>
date Fri, 27 Apr 2012 12:52:33 +0800
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/