[Web-SIG] Pure Python HTML?
Sridhar Ratna
sridharinfinity at gmail.com
Wed Apr 13 05:53:54 CEST 2005
>
> 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/
More information about the Web-SIG
mailing list