ERROR:tornado.access:500 GET /home (xxx.xxx.xxx.xxx) 注释的是Html代码,是给浏览器看的。 Html里的代码还是要执行。注释python代码用{# #}