> > Indeed. And in Python I do it with string formatting: > > template = """ > <HTML> > <HEAD> > <TITLE>%(title)s</TITLE> > </HEAD> > <BODY> > <H1>%(title)s</TITLE> > <P>Author: %(author)s > <P>something interesting here > </BODY> > """ >
Or use Nevow stan implementation - http://www.livejournal.com/users/dreid/24711.html -- Sridhar Ratna - http://www.livejournal.com/users/seedar/ _______________________________________________ Web-SIG mailing list Web-SIG@python.org Web SIG: http://www.python.org/sigs/web-sig Unsubscribe: http://mail.python.org/mailman/options/web-sig/archive%40mail-archive.com