Mercurial > p > roundup > code
view tools/base64 @ 3569:3954fbcefae5
fix incompatibility with python2.3 [SF#1432602]
| author | Alexander Smishlajev <a1s@users.sourceforge.net> |
|---|---|
| date | Thu, 16 Feb 2006 06:33:05 +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()))
