Mercurial > p > roundup > code
view tools/base64 @ 2980:e28f047f87fa
Interval.from_seconds() produces a buggy output with float argument
| author | Alexander Smishlajev <a1s@users.sourceforge.net> |
|---|---|
| date | Mon, 29 Nov 2004 14:30:55 +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()))
