Matthew Almond wrote: > tal:define="users here/getUsers | nothing; string modules/string" > tal:content="python:test(users == > None,lambda:'',lambda:string.join(users,'\n'))()" Yoiks! Easier than that: tal:content="python:test(users, string.join(users, '\n'), '')" Cheers, Evan @ digicool