Mercurial > p > roundup > code
view tools/base64 @ 2679:b3f0b7b9d20d
for MySQL connection, password argument is called 'passwd'.
Have own version of connection_dict() returning dictionary
suitable for MySQL connections.
trim trailing spaces; fix vim modeline.
| author | Alexander Smishlajev <a1s@users.sourceforge.net> |
|---|---|
| date | Sat, 25 Sep 2004 15:42:41 +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()))
