--On 4. Mai 2006 20:42:08 +0200 Jaroslav Lukesh <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED] - Phone +49 - 7071 - 793376
E-Publishing, Python, Zope & Plone development, Consulting

Attachment: pgpjC5u9KmobJ.pgp
Description: PGP signature

_______________________________________________
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )

Reply via email to