]>
git.ipfire.org Git - people/ms/webapp.git/blob - webapp.py
5 import tornado
.httpserver
9 app
= application
.Application()
11 if __name__
== "__main__":
12 tornado
.options
.enable_pretty_logging()
13 http_server
= tornado
.httpserver
.HTTPServer(app
)
14 http_server
.listen(8080)
15 tornado
.ioloop
.IOLoop
.instance().start()