4 May
2006
4 May
'06
6:59 p.m.
--On 4. Mai 2006 20:42:08 +0200 Jaroslav Lukesh <lukesh@seznam.cz> wrote:
Hi all,
Would you like to help me with decoding base64 string, please?
I was try many ways (*), but no with success, but
import cStringIO import mimetools import binascii binascii.a2b_base64('YWxla2liYW5nb0B6dWcuY3o=\n')
in commandline python works OK.
Move such code inside a PythonScript..such code does not belong into DTML.. it just bad style. -aj -- ZOPYX Ltd. & Co. KG - Charlottenstr. 37/1 - 72070 Tübingen - Germany Web: www.zopyx.com - Email: info@zopyx.com - Phone +49 - 7071 - 793376 E-Publishing, Python, Zope & Plone development, Consulting