On Sat, Dec 4, 2010 at 2:27 PM, Kirk Bailey <kbai...@howlermonkey.net> wrote: > and continue in html. What a BLOODY shame we can't do that in python, > which is otherwise awesome and superior in every way i can thus far > evaluate.
As someone mentioned, you CAN do that in Python. However, you'll find that mixing content and processing logic isn't considered a best practice. Embedding simple display logic into your presentational templates is fine (looping, if conditional then display this section, etc), but you'll want to avoid mixing complicated logic in with presentation - it makes maintenance/testing/reuse that much harder, even moreso when working on a team with different skill specialties. -- Brett Ritter / SwiftOne swift...@swiftone.org _______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor