view tools/base64 @ 4834:8a4021713c6e

RELEASE: Add PyPI page review to the checklist.
author anatoly techtonik <techtonik@gmail.com>
date Tue, 24 Sep 2013 19:08:25 +0300
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/