Dotan Cohen a écrit : (snip)
Yes, I like to separate HTML from code. However, often I need to output something in the middle of the page. How could I do that with a template?
Perhaps learning to use some templating system could help ?-)I'd personnaly suggest either Mako (possibly one of the best Python templating systems) or Django's (well documented and beginner-friendly).
-- http://mail.python.org/mailman/listinfo/python-list