view tools/base64 @ 2601:113548baeed2

API clarification. Previously, the anydbm/bsddb/metakit filter() methods had required exact matches to Multilink argument lists. The RDBMS backends treated Multilink matches like all other data types - matching any of the Multilink argument list is good enough. The latter behaviour is implemented across the board now.
author Richard Jones <richard@users.sourceforge.net>
date Tue, 20 Jul 2004 22:56:18 +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/