Re: [mod_python] using nested blocks in psp

2006-06-12 Thread cloc3
[EMAIL PROTECTED] wrote: See: > > http://www.modpython.org/pipermail/mod_python/2005-May/018102.html > > Comment hints may still be needed in certain cases to turn off scopes > even if 8 space or tab indents are needed so it is good to understand > what they are about. > Thank you. That solves m

Re: [mod_python] using nested blocks in psp

2006-06-12 Thread grahamd
cloc3 wrote: > I'm a newbie in python, and I'm fighting against nested blocks in psp. > Thats a little example with a funny behaviour: > [code] > > > > > > <% > for i in range(50, 350, 50): > if 'List' in form and int(form['List'])==i: > sel="selected" > else: > sel="pippo" > %> ><%=i%>