All pastes #764253 Raw Edit

Unnamed

public python v1 · immutable
·published 2007-11-07 01:41 UTC
rendered paste body
import webrender = web.template.render('templates/')urls = (  '/', 'index'    )class index:    def GET(self):        name = 'BitchX'        print render.index(name)                #web.webapi.internalerror = web.debugerrorif __name__ == '__main__': web.run(urls, globals(), web.reloader)____________________________________________________________________________#HTML page $def with (name) $if name: I just wanted to say <em>hello</em> to $name.$else: <em>Hello</em>, World!