Mercurial > p > roundup > code
view tools/base64 @ 4569:0470a2aa2c95
More .cvsignore -> .gitignore moves, hopefully complete this time.
| author | Eric S. Raymond <esr@thyrsus.com> |
|---|---|
| date | Wed, 16 Nov 2011 08:05:41 -0500 |
| 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()))
