Mercurial > p > roundup > code
view tools/base64 @ 5243:c193f1c33bd4
Change floor version of Python to 2.7.2.
John Rouillard notes that he already checked in a change that requires
2.7.0.
| author | Eric S. Raymond <esr@thyrsus.com> |
|---|---|
| date | Thu, 24 Aug 2017 11:26:46 -0400 |
| 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()))
