Skip to content

Instantly share code, notes, and snippets.

@junmakii
Created September 30, 2017 05:53
Show Gist options
  • Select an option

  • Save junmakii/06cbff0754c69706373508956eaba674 to your computer and use it in GitHub Desktop.

Select an option

Save junmakii/06cbff0754c69706373508956eaba674 to your computer and use it in GitHub Desktop.
import tornado.web
import tornado.wsgi
import tornado.web
class AppHandler(tornado.web.RequestHandler):
def initialize(self, queue):
self.queue = queue
def get(self):
self.write(u'Hello')
app = tornado.web.Application([
(r'^/', AppHandler, {}),
])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment