Mercurial > p > roundup > code
view tools/base64 @ 5021:70dde3937c9b pip
setup.py: Remove legacy support code for Python<2.3
| author | anatoly techtonik <techtonik@gmail.com> |
|---|---|
| date | Mon, 11 Jan 2016 01:20:29 +0300 |
| 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()))
