<table cellspacing='0' cellpadding='0' border='0' background='none' style='font-family:arial;font-size:10pt;color:rgb(51, 51, 51);background-color:rgb(255, 255, 255);width:100%;'><tr><td valign='top' style='font: inherit;'>hi<br><br>i want to write a webapplication. is there a library that lets you render html. so you ca start a localhost at http://localhost:8080/ for example?<br>with python and webpy i can do this for example(and have a html-file ina separate file):<br><br><br>import web<br><br>render = web.template.render('templates/')<br><br>urls = (<br>&nbsp; '/', 'main',<br>&nbsp; )<br><br>class main:<br>&nbsp;&nbsp;&nbsp; def GET(self):<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; print render.main()<br><br>web.webapi.internalerror = web.debugerror<br>if __name__ == "__main__": web.run(urls, globals())<br><br></td></tr></table><br>
      <hr size=1>
Går det långsamt? Skaffa dig en snabbare bredbandsuppkoppling.<br>
<a href=http://shopping.yahoo.se/c-100015813-bredband.html?partnerId=96914325>Sök och jämför hos Yahoo! Shopping.</a>