Return to Snippet

Revision: 22637
at January 17, 2010 16:32 by tclancy


Initial Code
def index(title, content):
    return """
    <html>
    <head>
    <title>%(title)s</title>
    </head>
    <body>
    %(content)s
    </body>
    </html>
    """ % {'title':title, 'content':content}

Initial URL
http://stackoverflow.com/questions/98245/what-is-your-single-favorite-python-templating-engine/99291#99291

Initial Description

                                

Initial Title
Python: Fancy String Substitution

Initial Tags

                                

Initial Language
Python