Mercurial > p > roundup > code
view tools/base64 @ 8564:13732c1d8392
bug: fix typing for pre 3.9 python.
when I added basic typing to logcontext.py I used a spec unsupported in
3.8and earlier.
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Thu, 09 Apr 2026 00:09:29 -0400 |
| parents | 9c3ec0a5c7fc |
| children |
line wrap: on
line source
#!/usr/bin/env python import zlib, base64, sys print(base64.encodestring(zlib.compress(sys.stdin.read())))
