19 Jun
2006
19 Jun
'06
4:25 p.m.
--On 19. Juni 2006 09:16:23 -0700 Alric Aneron <aluminum3458@yahoo.com> wrote:
Hello, I have a dictionary object and a result set object (that was returned from a ZSQL method). Is there any way I can merge them into one variable and use them in a dtml-in statement?
result sets have a dictionaries() method and dict have an update() method..everything else is one-liner-Python magic and depends on your usecase. -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