view tools/base64 @ 4558:f0d6eecee677

.cvsignore -> .gitignore
author Eric S. Raymond <esr@thyrsus.com>
date Thu, 03 Nov 2011 18:52:16 -0400
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/