/ Published in: Python
                    
                                        
                            
                                Expand |
                                Embed | Plain Text
                            
                        
                        Copy this code and paste it in your HTML
def index(title, content):
return """
<html>
<head>
<title>%(title)s</title>
</head>
<body>
%(content)s
</body>
</html>
""" % {'title':title, 'content':content}
Comments
 Subscribe to comments
                    Subscribe to comments
                
                