Created
September 30, 2017 05:53
-
-
Save junmakii/06cbff0754c69706373508956eaba674 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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