On 1/4/06, Karl Guertin <[EMAIL PROTECTED]> wrote:

Well if you know it's a list or tuple:

<?python pages = ['one','two','three'] ?>
<div py:strip="True" py:for="" in pages">
<a href="" % pagename)}" py:content="pagename">Content</a>ยท
<span class="separator" py:if="pagename != pages[-1]">|</span>
</div>

If it's an iterator, I'm not sure.

This may not be the best general example. What if pages equaled ['one', 'two', 'three', 'two']?

-- David

Reply via email to