Graham Dumpleton
grahamd at dscpl.com.au
Fri Dec 22 07:17:43 EST 2006
Read: http://www.modpython.org/pipermail/mod_python/2005-May/018102.html for starters and then search back through other past mailing lists posts by putting "PSP indenting" in the search box on the mod_python web site. Sorry for the short response, it is late here and I need my sleep. Graham Ben Barker wrote .. > Hi, I've been having some indentation problems with psp that I can't > get my head arouind. I get indentation errors for the for loop, but I > can't work out why... > > Any thoughts? > > Cheers, > > Ben > > <% > if os.path.exists("boroughs.txt"): > #Start indentation > %><select name="Borough"><% > > for item in sorted: > #start indentation > %><option value="<%= item%>"> <%= item%>-<%= lookup[item]%> > <% > #End if statement > %> > _______________________________________________ > Mod_python mailing list > Mod_python at modpython.org > http://mailman.modpython.org/mailman/listinfo/mod_python
|