Mercurial > p > roundup > code
view tools/base64 @ 3862:b052820e86bf
Add a rst method to StringHTMLProperty...
...similar to stext (which is for StructuredText) rst is for
ReStructuredText. The new method supports hyperlinking which is on by
default.
| author | Ralf Schlatterbeck <schlatterbeck@users.sourceforge.net> |
|---|---|
| date | Wed, 01 Aug 2007 12:42:31 +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()))
