[Zope-dev] #in on a list of dictionaries, how do I iterate over keys?

Phillip J. Eby pje@telecommunity.com
Tue, 11 May 1999 14:07:05 -0500


At 02:21 PM 5/11/99 -0400, Brad Clements wrote:
>
><!--#in "MyFunction()"-->
><!--#in sequence-item-->
><!--#var sequence-key--> = <!--#var sequence-key-->
><!--#/in-->
><!--#/in-->

Try:


<!--#in "MyFunction()"-->
<!--#in "_['sequence-item'].items()"-->
<!--#var sequence-key--> = <!--#var sequence-item-->
<!--#/in-->
<!--#/in-->