[Zope] how to decode base64 in DTML?

Igor Stroh igor at rulim.de
Thu May 4 15:03:46 EDT 2006


Jaroslav Lukesh wrote:

> import cStringIO
> import mimetools
> import binascii

[...]


<dtml-var "'YWxla2liYW5nb0B6dWcuY3o=\n'.decode('base64')">

Cheers,
Igor


More information about the Zope mailing list